Bug 1234054 - Enable Push and service worker notifications on Desktop release builds. r=ehsan

This commit is contained in:
Kit Cambridge 2016-01-04 14:32:33 -07:00
parent 3923917714
commit 9785f44f12
5 changed files with 8 additions and 12 deletions

View File

@ -1615,10 +1615,8 @@ pref("dom.serviceWorkers.enabled", true);
pref("dom.serviceWorkers.interception.enabled", true);
pref("dom.serviceWorkers.openWindow.enabled", true);
#ifndef RELEASE_BUILD
// Enable Push API.
pref("dom.push.enabled", true);
#endif
// These are the thumbnail width/height set in about:newtab.
// If you change this, ENSURE IT IS THE SAME SIZE SET

View File

@ -962,9 +962,9 @@ var interfaceNamesInGlobalScope =
// IMPORTANT: Do not change this list without review from a DOM peer!
"PropertyNodeList",
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "PushManager", b2g: false, android: false, release: false},
{name: "PushManager", b2g: false, android: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "PushSubscription", b2g: false, android: false, release: false},
{name: "PushSubscription", b2g: false, android: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
"RadioNodeList",
// IMPORTANT: Do not change this list without review from a DOM peer!

View File

@ -171,13 +171,13 @@ var interfaceNamesInGlobalScope =
// IMPORTANT: Do not change this list without review from a DOM peer!
"Promise",
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "PushEvent", b2g: false, android: false, release: false},
{ name: "PushEvent", b2g: false, android: false },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "PushManager", b2g: false, android: false, release: false},
{ name: "PushManager", b2g: false, android: false },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "PushMessageData", b2g: false, android: false, release: false},
{ name: "PushMessageData", b2g: false, android: false },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "PushSubscription", b2g: false, android: false, release: false},
{ name: "PushSubscription", b2g: false, android: false },
// IMPORTANT: Do not change this list without review from a DOM peer!
"Request",
// IMPORTANT: Do not change this list without review from a DOM peer!

View File

@ -163,9 +163,9 @@ var interfaceNamesInGlobalScope =
// IMPORTANT: Do not change this list without review from a DOM peer!
"Promise",
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "PushManager", b2g: false, android: false, release: false},
{ name: "PushManager", b2g: false, android: false },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "PushSubscription", b2g: false, android: false, release: false},
{ name: "PushSubscription", b2g: false, android: false },
// IMPORTANT: Do not change this list without review from a DOM peer!
"Request",
// IMPORTANT: Do not change this list without review from a DOM peer!

View File

@ -4420,9 +4420,7 @@ pref("notification.feature.enabled", false);
// Web Notification
pref("dom.webnotifications.enabled", true);
#if !defined(RELEASE_BUILD)
pref("dom.webnotifications.serviceworker.enabled", true);
#endif
// Alert animation effect, name is disableSlidingEffect for backwards-compat.
pref("alerts.disableSlidingEffect", false);