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)
Tracking
(firefox42 fixed, b2g-master fixed)
RESOLVED
FIXED
FxOS-S2 (10Jul)
People
(Reporter: ferjm, Assigned: ferjm)
References
Details
Attachments
(2 files)
This will be useful while developing with service workers
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ferjmoreno
Target Milestone: --- → FxOS-S2 (10Jul)
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8629281 -
Flags: review?(fabrice)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8629282 -
Flags: review?(jaoo)
Assignee | ||
Updated•9 years ago
|
Updated•9 years ago
|
Status: NEW → ASSIGNED
Comment 3•9 years ago
|
||
Comment on attachment 8629282 [details] [review]
Gaia PR
LGTM, r=me
Thanks!
Attachment #8629282 -
Flags: review?(jaoo) → review+
Updated•9 years ago
|
Attachment #8629281 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Updated•9 years ago
|
status-b2g-master:
--- → fixed
Comment 7•9 years ago
|
||
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.
Description
•