summaryrefslogtreecommitdiff
path: root/src/core/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/node.c')
-rw-r--r--src/core/node.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/node.c b/src/core/node.c
index e500f3a..49033c0 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -2360,9 +2360,6 @@ dom_exception _dom_node_dispatch_event(dom_event_target *et,
return DOM_UNSPECIFIED_EVENT_TYPE_ERR;
}
- if (evt->doc == NULL)
- return DOM_NOT_SUPPORTED_ERR;
-
doc = dom_node_get_owner(et);
if (doc == NULL) {
/* TODO: In the progress of parsing, many Nodes in the DTD has