Bug 134747

Summary: RemoteInspector::shared() should not call WTF::initializeMainThread()
Product: WebKit Reporter: Jon Honeycutt <jhoneycutt>
Component: Web InspectorAssignee: Jon Honeycutt <jhoneycutt>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, joepeck, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch joepeck: review+

Description Jon Honeycutt 2014-07-08 16:15:16 PDT
RemoteInspector::shared() will be called when calling JSGlobalContextCreate(), which should be possible to call from any thread. RemoteInspector::shared() should not call WTF::initializeMainThread().

<rdar://problem/17161482>
Comment 1 Jon Honeycutt 2014-07-08 16:26:58 PDT
Created attachment 234606 [details]
Patch
Comment 2 Joseph Pecoraro 2014-07-08 16:28:33 PDT
Comment on attachment 234606 [details]
Patch

r=me!
Comment 3 Jon Honeycutt 2014-07-08 16:32:24 PDT
Committed r170903: <http://trac.webkit.org/changeset/170903>