Bug 134747 - RemoteInspector::shared() should not call WTF::initializeMainThread()
Summary: RemoteInspector::shared() should not call WTF::initializeMainThread()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jon Honeycutt
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-07-08 16:15 PDT by Jon Honeycutt
Modified: 2014-07-08 16:32 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.75 KB, patch)
2014-07-08 16:26 PDT, Jon Honeycutt
joepeck: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>