[Webkit-unassigned] [Bug 96522] Give isolated shells a lifecycle like that of main shells

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 12 12:45:01 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=96522





--- Comment #11 from Dan Carney <dcarney at google.com>  2012-09-12 12:45:27 PST ---
(In reply to comment #9)
> > Sorry, asynchronous javascript callbacks.   The shell needs to stay alive long enough for them not to segfault as a raw pointer to the shell exists in the context's global object.
> 
> Can we clear out their pointer to the WindowShell?  In the main world, we detach the v8::Context from the WindowShell and it continues to function.

It's a bit problematic. If it were cleared, the call to V8DOMWindowShell::entered() return null and which indicated that we're in the mainworld, which is not where the callbacks are suppose to execute.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list