Bug 22083

Summary: MessageEvents cannot be used across threads
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore JavaScriptAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
proposed patch mjs: review+

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

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