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.
Created attachment 33527 [details]
Created attachment 33528 [details]
Comment on attachment 33528 [details]
ok. Will this affect performance in any measurable way?
Transmitting file data .................
Committed revision 46523.
(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.