Bug 1172110 - Re-enable service workers on desktop and mobile for non-release builds; r=jst

This commit is contained in:
Ehsan Akhgari 2015-06-05 15:25:49 -04:00
parent 23d8de25b1
commit 31a60c5798
4 changed files with 14 additions and 4 deletions

View File

@ -1924,3 +1924,8 @@ pref("browser.pocket.useLocaleList", true);
pref("browser.pocket.enabledLocales", "en-US de es-ES ja ja-JP-mac ru");
pref("view_source.tab", true);
// Enable Service Workers for desktop on non-release builds
#ifndef RELEASE_BUILD
pref("dom.serviceWorkers.enabled", true);
#endif

View File

@ -917,11 +917,11 @@ var interfaceNamesInGlobalScope =
// IMPORTANT: Do not change this list without review from a DOM peer!
"Selection",
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "ServiceWorker", disabled: true, b2g: false},
{name: "ServiceWorker", release: false, b2g: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "ServiceWorkerContainer", disabled: true, b2g: false},
{name: "ServiceWorkerContainer", release: false, b2g: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "ServiceWorkerRegistration", disabled: true, b2g: false},
{name: "ServiceWorkerRegistration", release: false, b2g: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
"SettingsLock",
// IMPORTANT: Do not change this list without review from a DOM peer!

View File

@ -157,7 +157,7 @@ var interfaceNamesInGlobalScope =
// IMPORTANT: Do not change this list without review from a DOM peer!
"Response",
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "ServiceWorkerRegistration", disabled: true, b2g: false },
{ name: "ServiceWorkerRegistration", release: false, b2g: false },
// IMPORTANT: Do not change this list without review from a DOM peer!
"TextDecoder",
// IMPORTANT: Do not change this list without review from a DOM peer!

View File

@ -916,3 +916,8 @@ pref("consoleservice.logcat", false);
#else
pref("consoleservice.logcat", true);
#endif
// Enable Service Workers for Android on non-release builds
#ifndef RELEASE_BUILD
pref("dom.serviceWorkers.enabled", true);
#endif