From b6ee73153af44204a733f62ddd39a3d37e079eb9 Mon Sep 17 00:00:00 2001 From: Sean Feng Date: Mon, 11 Jul 2022 14:33:51 +0000 Subject: [PATCH] Bug 1772552 - Enable BFCache for pages with beforeunload event listeners on Desktop on EARLY_BETA_OR_EARLIER r=smaug Differential Revision: https://phabricator.services.mozilla.com/D151267 --- modules/libpref/init/StaticPrefList.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml index c7626e867999..6088cac84b8b 100644 --- a/modules/libpref/init/StaticPrefList.yaml +++ b/modules/libpref/init/StaticPrefList.yaml @@ -1903,7 +1903,7 @@ # This only works when sessionHistoryInParent is enabled. - name: docshell.shistory.bfcache.ship_allow_beforeunload_listeners type: bool - value: @IS_NIGHTLY_BUILD@ + value: @IS_EARLY_BETA_OR_EARLIER@ mirror: always #--------------------------------------------------------------------------- @@ -6795,7 +6795,7 @@ # ShadowRealms: https://github.com/tc39/proposal-shadowrealm - name: javascript.options.experimental.shadow_realms # Atomic, as we assert the preference, and that assertion may happen - # in a worker. + # in a worker. type: RelaxedAtomicBool value: false mirror: always