Bug 22083 - MessageEvents cannot be used across threads
Summary: MessageEvents cannot be used across threads
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Alexey Proskuryakov
Depends on:
Reported: 2008-11-05 07:36 PST by Alexey Proskuryakov
Modified: 2008-11-05 23:07 PST (History)
0 users

See Also:

proposed patch (6.44 KB, patch)
2008-11-05 07:42 PST, Alexey Proskuryakov
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2008-11-05 07:36:00 PST
Patch forthcoming for a couple of issues:
1) MessageEvent bindings should not use static tables, as these events are used in workers.
2) MessagePort shouldn't store MessageEvents in its queue, as Event has an AtomicString member, and AtomicStrings cannot be moved across threads.
Comment 1 Alexey Proskuryakov 2008-11-05 07:42:48 PST
Created attachment 24908 [details]
proposed patch
Comment 2 Maciej Stachowiak 2008-11-05 07:58:01 PST
Comment on attachment 24908 [details]
proposed patch

Comment 3 Alexey Proskuryakov 2008-11-05 23:07:49 PST
Committed revision 38151.