Bug 22285 - ThreadingNone triggering isMainThread asserts
Summary: ThreadingNone triggering isMainThread asserts
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-15 13:26 PST by Kevin Ollivier
Modified: 2008-11-15 15:45 PST (History)
0 users

See Also:


Attachments
Have isMainThread return true (1.06 KB, patch)
2008-11-15 13:27 PST, Kevin Ollivier
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Ollivier 2008-11-15 13:26:09 PST
The stub Threading implementation (which doesn't implement threads) has isMainThread returning false, while in fact code will always be in the main thread with the stub implementation.
Comment 1 Kevin Ollivier 2008-11-15 13:27:15 PST
Created attachment 25193 [details]
Have isMainThread return true
Comment 2 Kevin Ollivier 2008-11-15 15:45:24 PST
Landed in r38437, thanks!