[Webkit-unassigned] [Bug 25121] Upstream changes to handle error messages from V8 when running worker script.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 9 22:54:45 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25121
fishd at chromium.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #29384|review? |review+
Flag| |
------- Comment #2 from fishd at chromium.org 2009-04-09 22:54 PDT -------
(From update of attachment 29384)
LGTM
> + // Do the one-time initialization.
> + static bool v8Initialized = false;
> + if (!v8Initialized) {
> + // Tells V8 not to call the default OOM handler, binding code will handle it.
> + v8::V8::IgnoreOutOfMemoryException();
> + v8::V8::SetFatalErrorHandler(reportFatalErrorInV8);
> +
> + v8::V8::AddMessageListener(handleConsoleMessage);
> +
> + v8Initialized = true;
> + }
Is there really no worry about multiple threads running this code at the same
time?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list