Expose SW Debugging in Experiments panel
Categories
(DevTools :: Debugger, enhancement, P3)
Tracking
(firefox80 fixed)
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: Honza, Assigned: jdescottes)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Support for Service Worker debugging is disabled for now, but it would be great to keep collecting feedback from users. Let's make the feature a bit more visible by introducing it in the new "Experiments" section in about:preferences#experimental
Honza
Reporter | ||
Comment 1•5 years ago
|
||
Some instructions how to proceed here:
-
The core of the work is to define the new feature in
toolkit/components/featuregates/Features.toml
-
Detailed documentation is here: https://firefox-source-docs.mozilla.org/toolkit/components/featuregates/featuregates/index.html
-
An example patch (sameSite Cookie): https://phabricator.services.mozilla.com/D82561
-
Another example patch (multiple features added) https://phabricator.services.mozilla.com/D81623
Honza
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Add a new section to about:preferences experiments to toogle the devtools.debugger.features.windowless-service-workers preference
Reporter | ||
Comment 3•5 years ago
|
||
The patch should be uplifted to 79 as soon as tested in Nightly
Honza
Assignee | ||
Comment 6•5 years ago
|
||
(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #3)
The patch should be uplifted to 79 as soon as tested in Nightly
Honza
Actually I am not sure about this. I think the experiments panel is Nightly only? (it is called "Nightly Experiments" afterall)
Are you sure we need to uplift this?
Comment 7•5 years ago
|
||
bugherder |
Reporter | ||
Comment 8•5 years ago
|
||
(In reply to Julian Descottes [:jdescottes] from comment #6)
Actually I am not sure about this. I think the experiments panel is Nightly only? (it is called "Nightly Experiments" afterall)
Are you sure we need to uplift this?
Good call. The "Nightly Experiments" section UI is hidden behind "browser.preferences.experimental", which is true only in Nightly
https://searchfox.org/mozilla-central/rev/82c04b9cad5b98bdf682bd477f2b1e3071b004ad/browser/app/profile/firefox.js#764-768
(and there is likely not mach users who flipped that for other channels)
So, I agree, we don't have to uplift.
Honza
Description
•