[Webkit-unassigned] [Bug 40816] WebKit API: Undo static hooks into V8 when WebKit is shut down

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 18 11:23:11 PDT 2010


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


Darin Fisher (:fishd, Google) <fishd at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fishd at chromium.org




--- Comment #2 from Darin Fisher (:fishd, Google) <fishd at chromium.org>  2010-06-18 11:23:11 PST ---
I'm concerned that the pattern of shutting down WebKit and re-initializing it is going to be hard to support in the future since no other port requires it.  It will be fragile to support.  We don't need it for Chrome.  We only need it because our unit_tests are constructed to initialize, shutdown, and re-initialize WebKit.  Perhaps our unit_tests should change instead.  Note that webkit_unit_tests initializes WebKit once for the entire process.  That is the only currently supported usage.

I notice that the comments in WebKit.h do not make this clear, and the implementation of WebKit::initialize does not assert that initialization is a one-time deal.  It probably should have had such a check to prevent abuse.

-- 
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