Bug 154213
Summary: | Web Inspector: Improve support for console logging within workers | ||
---|---|---|---|
Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
Component: | Web Inspector | Assignee: | 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
* 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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/24643249>
Joseph Pecoraro
This will be addressed by bug 163844.
*** This bug has been marked as a duplicate of bug 163844 ***
Joseph Pecoraro
This will be addressed by bug 163844.