Closed Bug 1651607 Opened 5 years ago Closed 5 years ago

Expose SW Debugging in Experiments panel

Categories

(DevTools :: Debugger, enhancement, P3)

enhancement

Tracking

(firefox80 fixed)

RESOLVED FIXED
Firefox 80
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

Some instructions how to proceed here:

  1. The core of the work is to define the new feature in toolkit/components/featuregates/Features.toml

  2. Detailed documentation is here: https://firefox-source-docs.mozilla.org/toolkit/components/featuregates/featuregates/index.html

  3. An example patch (sameSite Cookie): https://phabricator.services.mozilla.com/D82561

  4. Another example patch (multiple features added) https://phabricator.services.mozilla.com/D81623

Honza

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED

Add a new section to about:preferences experiments to toogle the devtools.debugger.features.windowless-service-workers preference

The patch should be uplifted to 79 as soon as tested in Nightly
Honza

ni myself to remember to uplift.

Flags: needinfo?(jdescottes)
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ad00c65bf058 Expose SW Debugging in Experiments panel r=Honza,Pike,preferences-reviewers,mstriemer

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

Flags: needinfo?(jdescottes) → needinfo?(odvarko)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80

(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

Flags: needinfo?(odvarko)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: