[Webkit-unassigned] [Bug 105279] Web Inspector: Document* should be used directly in WebSocket Instrumentation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 19 05:05:54 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105279





--- Comment #4 from Takashi Toyoshima <toyoshim at chromium.org>  2012-12-19 05:08:09 PST ---
(In reply to comment #3)
> Actually, "WebSocketChannel" is the backend of "WorkerThreadableWebSocketChannel", and  ScriptExecutionContext* in the former class is always a Document* rather than WorkerContext* (even when play as a backend of worker)

Right. In the case of Workers, WebSocket objects in the workers have proxy objects in the main thread respectively. The proxy objects always own WebSocketChannel which has Document object as a ScriptExecutionContext.

AFAIK, Inspector code exists in this WebSocketChannel. So, Document object is always available for these interfaces.

-- 
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