Bug 77160

Summary: SchemeRegistry scheme registration is racey
Product: WebKit Reporter: Cris Neckar <cdn>
Component: WebCore Misc.Assignee: Cris Neckar <cdn>
Status: REOPENED ---    
Severity: Normal CC: abarth, ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Cris Neckar 2012-01-26 16:24:57 PST
Scheme registration within SchemeRegistry should only be able to occur from the main thread as pointed out by ap@ on https://bugs.webkit.org/show_bug.cgi?id=77041. Currently this is not enforced and in some cases this may cause a race.

We should fix this and add asserts (as AP suggested) to all of the scheme registries.
Comment 1 Cris Neckar 2012-01-26 16:44:27 PST
Created attachment 124213 [details]
Patch
Comment 2 Adam Barth 2012-01-26 16:46:30 PST
Comment on attachment 124213 [details]
Patch

WebKit usually prefers links to bugs rather than parenthetical comments.  (We're lazy that way.)
Comment 3 Cris Neckar 2012-01-26 16:54:43 PST
Committed r106064: <http://trac.webkit.org/changeset/106064>
Comment 4 Cris Neckar 2012-01-26 16:57:42 PST
This patch was just to remove the assert and add a fixme
Comment 5 Alexey Proskuryakov 2013-03-16 22:54:30 PDT
Comment on attachment 124213 [details]
Patch

Clearing r+ flag from a landed patch, so that this doesn't show up in commit queue.