Add logging to ServiceWorker implementation exposed via about:serviceworkers
Categories
(Core :: DOM: Service Workers, enhancement, P2)
Tracking
()
People
(Reporter: asuth, Assigned: asuth)
References
(Blocks 3 open bugs)
Details
Attachments
(3 files, 8 obsolete files)
Updated•6 years ago
|
Comment 1•5 years ago
|
||
I'd classify this as a task as it does not add value to the end-user.
Assignee | ||
Comment 2•4 years ago
|
||
I'm re-purposing this to cover an in-memory circular-ish log of structured JSON log entries for ServiceWorker related subsystems that can be exposed to about:serviceworkers. The end goal will be to make these available for synchronous logging via the existing MOZ_LOG subsystem as well for CI/automated testing, but the goal is to meet the debugging workflow of:
- Someone experiences a problem that may involve ServiceWorkers.
- I tell them to reproduce the problem, then go to about:serviceworkers, hit ctrl-f to find the origin in question where we're seeing problems, then either look at the results there or click a "copy" button and then paste that into the bug as an attachment or email the contents to me.
- A critical point here is that this provides a means of limiting any data provided by the person reproducing the problem to the origin of question. A general concern I have about MOZ_LOG, especially for http logging/etc. is that it captures the entire fire-hose which provides an uncomfortable amount of information. For this specific use case we generally expect the bug to already be discussing a very specific site and so there ideally wouldn't be any additional private data revealed other than what would be present in the URLs for this specific origin.
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Assignee | ||
Comment 7•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
My empty try push also seemed to go through, so the revisions should be available in mercurial for a while: https://treeherder.mozilla.org/jobs?repo=try&revision=8539d60813f41b677efd1dc06e7dd3b6f30406a4
Comment 9•3 years ago
|
||
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
Depends on D136491
Comment 14•3 years ago
|
||
Depends on D136492
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 15•3 years ago
|
||
Comment on attachment 9259820 [details] [diff] [review]
p1: Actually a further revised version of what was in phabricator
(obsoleting these patches in favor of :jesup's de-bitrotted versions. The patch layering for these was not intentional, just an attempt to do append-only periodic commits that would later be cleaned up into a semantic stack.)
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•2 years ago
|
Description
•