Changeset 85606 in webkit
- Timestamp:
- May 3, 2011 9:18:29 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r85603 r85606 1 2011-05-03 Andrey Kosyakov <caseq@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 [Chromium] toV8(Node*) will enter infinite recursion when called with a node of type SHADOW_ROOT_NODE 6 https://bugs.webkit.org/show_bug.cgi?id=60026 7 8 Return a wrapper for Node in toV8(Node*) when called with a node of type 9 SHADOW_ROOT_NODE instead of entering infinite recursion. 10 11 * bindings/v8/custom/V8NodeCustom.cpp: 12 (WebCore::toV8Slow): 13 1 14 2011-05-02 Adam Roben <aroben@apple.com> 2 15 -
trunk/Source/WebCore/bindings/v8/custom/V8NodeCustom.cpp
r84520 r85606 165 165 case Node::DOCUMENT_FRAGMENT_NODE: 166 166 return toV8(static_cast<DocumentFragment*>(impl), forceNewObject); 167 case Node::SHADOW_ROOT_NODE:168 return toV8(static_cast<ShadowRoot*>(impl), forceNewObject);169 167 case Node::NOTATION_NODE: 170 168 return toV8(static_cast<Notation*>(impl), forceNewObject); 169 case Node::SHADOW_ROOT_NODE: // There's no IDL class for ShadowRoot, fall-through to default and use Node instead. 171 170 default: break; // XPATH_NAMESPACE_NODE 172 171 }
Note: See TracChangeset
for help on using the changeset viewer.