Closed Bug 1179896 Opened 9 years ago Closed 9 years ago

Add a switch to enable/disable dom.serviceWorkers.interception.enabled and dom.serviceWorkers.testing prefs

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox42 fixed, b2g-master fixed)

RESOLVED FIXED
FxOS-S2 (10Jul)
Tracking Status
firefox42 --- fixed
b2g-master --- fixed

People

(Reporter: ferjm, Assigned: ferjm)

References

Details

Attachments

(2 files)

This will be useful while developing with service workers
Assignee: nobody → ferjmoreno
Target Milestone: --- → FxOS-S2 (10Jul)
Attached patch v1Splinter Review
Attachment #8629281 - Flags: review?(fabrice)
Attached file Gaia PR
Attachment #8629282 - Flags: review?(jaoo)
Status: NEW → ASSIGNED
Comment on attachment 8629282 [details] [review] Gaia PR LGTM, r=me Thanks!
Attachment #8629282 - Flags: review?(jaoo) → review+
Attachment #8629281 - Flags: review?(fabrice) → review+
See Also: → 1181048
Hi, Just checked with today's (7/7) master build and once a sw is registered, dom.serviceWorkers.interception.enabled (activated by default) and dom.serviceWorkers.testing (de-activated by default) prefs can be properly managed from Settings->Developer->Service Workers: *Enabling/Disabling "Intercept requests" causes requests being/not being intercepted *Enabling/Disabling "Allow over HTTP" causes being able or not to register a sw over HTTP Environmental variables: Flame device Gecko: 8ca397a Gaia: ee2d142 Build Id: 20150707055849 Platform version: 42.0a1 Notice that Bug 1181048 has been opened to be able to manage those preferences without the need of having a registered sw in advance. Thanks!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: