-
dglazkov@chromium.org authored
Reviewed by Eric Seidel. [V8] Accessing properties/methods of an object, created with document.implementation.createDocumentType creates nodes that have no document (ScriptExecutionContext), which in turn produces NULL-ref crashes. https://bugs.webkit.org/show_bug.cgi?id=26402 Test: fast/dom/DOMImplementation/detached-doctype.html fast/dom/doctype-event-listener-crash.html * bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::getEventListener): Added an extra NULL-check. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2bd9bd3d