Allow pages with beforeunload listener to enter BFCache for desktop
62 views
Skip to first unread message
Sean Feng
unread,
Jun 7, 2023, 10:30:43 AM6/7/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-pl...@mozilla.org
Hi all,
In Bug 1837045, I am going to enable the docshell.shistory.bfcache.ship_allow_beforeunload_listeners pref in Release so that pages with beforeunload listener can be BFCached. This is for desktop only.
Firefox is the only browser that prevents pages with beforeunload listener from entering BFCache on Desktop. We have had this pref enabled for EARLY_BETA for a long time, and we think it's good to enable it in Release now.