Bug 133251 - Log an error to the console when using a WebKit-based JSContext from multiple threads
Summary: Log an error to the console when using a WebKit-based JSContext from multiple...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Hahnenberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-23 19:22 PDT by Mark Hahnenberg
Modified: 2014-05-23 19:22 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hahnenberg 2014-05-23 19:22:41 PDT
We set a particular flag in the JSLock for a VM when it's being used by WebKit. Some of our clients are tripping up over trying to use a WebKit-based JSContext on multiple threads. We could help them out by logging an error if we ever observe on a thread other than the main thread the use of a VM with a JSLock with the m_hasExclusiveThread field set.