RESOLVED FIXED 100033
[V8] Enumerate Nodes via the V8 heap rather than via a list in WebCore
https://bugs.webkit.org/show_bug.cgi?id=100033
Summary [V8] Enumerate Nodes via the V8 heap rather than via a list in WebCore
Adam Barth
Reported 2012-10-22 14:39:12 PDT
[V8] Enumerate Nodes via the V8 heap rather than via a list in WebCore
Attachments
Patch (14.80 KB, patch)
2012-10-22 14:40 PDT, Adam Barth
no flags
Adam Barth
Comment 1 2012-10-22 14:40:32 PDT
Eric Seidel (no email)
Comment 2 2012-10-22 14:45:14 PDT
Comment on attachment 169989 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=169989&action=review LGTM. You may wish to have Kentaro look too, as he's undoubtably more versed in this than I. > Source/WebCore/bindings/v8/V8DOMMap.cpp:119 > + v8::Persistent<v8::Object> wrapper = v8::Persistent<v8::Object>::Cast(value); I assume this ASSERTs, etc. that this is an Object?
Adam Barth
Comment 3 2012-10-22 14:54:08 PDT
Adam Barth
Comment 4 2012-10-22 15:14:56 PDT
Comment on attachment 169989 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=169989&action=review >> Source/WebCore/bindings/v8/V8DOMMap.cpp:119 >> + ASSERT(V8Node::HasInstance(value)); >> + ASSERT(value->IsObject()); >> + ASSERT(!value.IsIndependent()); >> + v8::Persistent<v8::Object> wrapper = v8::Persistent<v8::Object>::Cast(value); > > I assume this ASSERTs, etc. that this is an Object? It doesn't, but that's why I have the ASSERT on line 117. :)
Kentaro Hara
Comment 5 2012-10-23 00:08:20 PDT
Comment on attachment 169989 [details] Patch LGTM.
WebKit Review Bot
Comment 6 2012-10-23 10:34:50 PDT
Comment on attachment 169989 [details] Patch Clearing flags on attachment: 169989 Committed r132242: <http://trac.webkit.org/changeset/132242>
WebKit Review Bot
Comment 7 2012-10-23 10:34:54 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.