summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2102ca5)
Reviewed by Darin Fisher.
https://bugs.webkit.org/show_bug.cgi?id=24261
Fix V8 custom binding scrubbing error.
Test: fast/dom/TreeWalker/TreeWalker-currentNode.html
Test: traversal/exception-forwarding.html
TesT: traversal/stay-within-root.html
* bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp:
* bindings/v8/custom/V8NodeIteratorCustom.cpp:
(WebCore::toV8): Replace v8::Undefined() return value with v8::Null().
* bindings/v8/custom/V8TreeWalkerCustom.cpp:
(WebCore::toV8): Ditto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41325
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2009-02-28 Dimitri Glazkov <dglazkov@chromium.org>
+
+ Reviewed by Darin Fisher.
+
+ https://bugs.webkit.org/show_bug.cgi?id=24261
+ Fix V8 custom binding scrubbing error.
+
+ Test: fast/dom/TreeWalker/TreeWalker-currentNode.html
+ Test: traversal/exception-forwarding.html
+ TesT: traversal/stay-within-root.html
+
+ * bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp:
+ * bindings/v8/custom/V8NodeIteratorCustom.cpp:
+ (WebCore::toV8): Replace v8::Undefined() return value with v8::Null().
+ * bindings/v8/custom/V8TreeWalkerCustom.cpp:
+ (WebCore::toV8): Ditto.
+
2009-02-28 Dimitri Glazkov <dglazkov@chromium.org>
Reviewed by Darin Fisher.
2009-02-28 Dimitri Glazkov <dglazkov@chromium.org>
Reviewed by Darin Fisher.
return throwError(state->exception());
if (!object)
return throwError(state->exception());
if (!object)
- return v8::Undefined();
return V8Proxy::NodeToV8Object(object.get());
}
return V8Proxy::NodeToV8Object(object.get());
}
return throwError(state->exception());
if (!object)
return throwError(state->exception());
if (!object)
- return v8::Undefined();
return V8Proxy::NodeToV8Object(object.get());
}
return V8Proxy::NodeToV8Object(object.get());
}