Bug 1750515 - Enable NavigationPreload API on Nightly. r=dom-worker-reviewers,smaug

Depends on D137599

Differential Revision: https://phabricator.services.mozilla.com/D136215
This commit is contained in:
Eden Chuang 2022-02-08 18:12:34 +00:00
Родитель 2026337440
Коммит 0430fc154e
4 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -226,6 +226,8 @@ var interfaceNamesInGlobalScope = [
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "NetworkInformation", android: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
"NavigationPreloadManager",
// IMPORTANT: Do not change this list without review from a DOM peer!
"Notification",
// IMPORTANT: Do not change this list without review from a DOM peer!
"NotificationEvent",

Просмотреть файл

@ -797,6 +797,8 @@ var interfaceNamesInGlobalScope = [
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "NamedNodeMap", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
"NavigationPreloadManager",
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "Navigator", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "NetworkInformation", insecureContext: true, desktop: false },

Просмотреть файл

@ -225,6 +225,8 @@ var interfaceNamesInGlobalScope = [
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MessagePort", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
"NavigationPreloadManager",
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "NetworkInformation", insecureContext: true, android: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "Notification", insecureContext: true },

Просмотреть файл

@ -3397,7 +3397,7 @@
- name: dom.serviceWorkers.navigationPreload.enabled
type: RelaxedAtomicBool
value: false
value: @IS_NIGHTLY_BUILD@
mirror: always
# Mitigates ServiceWorker navigation faults by bypassing the ServiceWorker on