Bug 1455078: Enable service worker testing in test r=asuth

This preference must be enabled since the test creates an insecure context, in
which navigator.serviceWorker is undefined.

Differential Revision: https://phabricator.services.mozilla.com/D3594

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Yaron Tausky 2018-08-22 13:15:18 +00:00
parent c395657645
commit 814ab6a3e3

View File

@ -28,7 +28,8 @@
SpecialPowers.pushPrefEnv({"set": [
["dom.serviceWorkers.exemptFromPerDomainMax", true],
["dom.serviceWorkers.enabled", true]
["dom.serviceWorkers.enabled", true],
["dom.serviceWorkers.testing.enabled", true]
]}, function() {
checkEnabled();
SimpleTest.finish();