[Webkit-unassigned] [Bug 68978] message-event-constructor.html crashes and fails
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 5 22:31:14 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=68978
MORITA Hajime <morrita at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |morrita at google.com
--- Comment #4 from MORITA Hajime <morrita at google.com> 2011-10-05 22:31:13 PST ---
> static PassRefPtr<MessageEvent> create(PassOwnPtr<MessagePortArray> ports, PassRefPtr<SerializedScriptValue> data\
> , const String& origin = "", const String& lastEventId = "", PassRefPtr<DOMWindow> source = 0);
>
> This API can be called from the context that has SerializedScriptValue but cannot convert it into ScriptValue since the context does not have ExecState. For example, WebCore/workers/WorkerMessagingProxy.cpp and WebKit/chromium/src/WebWorkerImpl.cpp are using this API. In this case, we convert the SerializedScriptValue into ScriptValue when MessageEvent.data is called (At this point, we have ExecState).
I got it.
So it looks we should have a test that create and send an MessageEvent with non-serializable object data
to worker thread, which enforces a tricky serialization.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list