RESOLVED FIXED Bug 27701
[V8] Teach V8Proxy::context about isolated worlds
https://bugs.webkit.org/show_bug.cgi?id=27701
Summary [V8] Teach V8Proxy::context about isolated worlds
Adam Barth
Reported 2009-07-27 01:52:21 PDT
I've looked through all the clients of V8Proxy::context(Frame*), and they'd all rather call V8DOMWrapper::getWrapperContext(Frame*). Instead of converting all the call sites, we should just teach V8Proxy::context(Frame*) to retrieve the context of Frame* in the current isolated world. Patch forthcoming.
Attachments
patch (14.04 KB, patch)
2009-07-27 02:34 PDT, Adam Barth
no flags
patch (14.52 KB, patch)
2009-07-27 02:42 PDT, Adam Barth
dglazkov: review+
Adam Barth
Comment 1 2009-07-27 02:34:25 PDT
Adam Barth
Comment 2 2009-07-27 02:42:31 PDT
Dimitri Glazkov (Google)
Comment 3 2009-07-28 20:50:02 PDT
Comment on attachment 33528 [details] patch ok. Will this affect performance in any measurable way?
Adam Barth
Comment 4 2009-07-29 00:59:47 PDT
Sending LayoutTests/ChangeLog Adding LayoutTests/http/tests/security/isolatedWorld/document-open-expected.txt Adding LayoutTests/http/tests/security/isolatedWorld/document-open.html Sending LayoutTests/platform/gtk/Skipped Sending LayoutTests/platform/mac/Skipped Sending LayoutTests/platform/qt/Skipped Sending LayoutTests/platform/win/Skipped Sending WebCore/ChangeLog Sending WebCore/bindings/v8/ScriptController.cpp Sending WebCore/bindings/v8/ScriptObjectQuarantine.cpp Sending WebCore/bindings/v8/V8AbstractEventListener.cpp Sending WebCore/bindings/v8/V8DOMWrapper.cpp Sending WebCore/bindings/v8/V8DOMWrapper.h Sending WebCore/bindings/v8/V8Helpers.cpp Sending WebCore/bindings/v8/V8LazyEventListener.cpp Sending WebCore/bindings/v8/V8Proxy.cpp Sending WebCore/bindings/v8/V8Proxy.h Transmitting file data ................. Committed revision 46523. http://trac.webkit.org/changeset/46523
Adam Barth
Comment 5 2009-07-29 01:00:54 PDT
(In reply to comment #3) > ok. Will this affect performance in any measurable way? It shouldn't, but we'll see from the perf bots.
Note You need to log in before you can comment on or make changes to this bug.