Bug 154213

Summary: Web Inspector: Improve support for console logging within workers
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bburg, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 127634    

Joseph Pecoraro
Reported 2016-02-13 01:14:14 PST
* SUMMARY Improve support for console logging within workers * STEPS TO REPRODUCE 1. Start a worker 2. Log objects from within the worker => expect to interact with the objects via Inspector's console * NOTES - Worker's ScriptExecutionContext needs to be made visible to the Page's Inspector - Previously Worker console messages had a flow like this -> console.log -> WorkerGlobalObject (worker thread) -> InspectorInstrumentation::addConsoleMessage -> WorkerConsoleAgent/WorkerInspectorController -> WorkerFrontendChannel send workerId + JSON message to Page -> Page executes task (main thread) -> Worker.dispatchMessageFromWorker (json message) -> frontend re-dispatches message within dispatch message The rest can work with ConsoleAgent/RuntimeAgent for the Worker.
Attachments
Radar WebKit Bug Importer
Comment 1 2016-02-13 01:14:26 PST
Joseph Pecoraro
Comment 2 2016-10-22 03:40:52 PDT
This will be addressed by bug 163844. *** This bug has been marked as a duplicate of bug 163844 ***
Joseph Pecoraro
Comment 3 2016-10-22 03:41:00 PDT
This will be addressed by bug 163844.
Note You need to log in before you can comment on or make changes to this bug.