diff --git a/source b/source index af28d21866f..2529743aa6e 100644 --- a/source +++ b/source @@ -85167,8 +85167,8 @@ dictionary PageTransitionEventInit : EventInit {
Things that can cause the page to be unsalvageable include:
beforeunload
events
- unload
events
+ Document
alive in a session
+ history entry after unload
iframe
s that are not salvageable
WebSocket
objects
Document
@@ -85220,12 +85220,12 @@ dictionary PageTransitionEventInit : EventInit {
A Document
has a salvageable state, which must initially be
- true, a fired unload flag, which must initially be false, and a page showing
- flag, which must initially be false. The page showing flag is used to ensure that
- scripts receive pageshow
and pagehide
events in a consistent manner (e.g. that they never
- receive two pagehide
events in a row without an intervening
- pageshow
, or vice versa).
pageshow
and pagehide
events
+ in a consistent manner (e.g. that they never receive two pagehide
events in a row without an intervening pageshow
, or vice versa).
Event loops have a termination nesting level counter, which must initially be 0.
@@ -85253,10 +85253,6 @@ dictionary PageTransitionEventInit : EventInit {Decrease the event loop's termination nesting level by 1.
If any event listeners were triggered by the earlier dispatch step, then set - document's salvageable state to - false.
If document's active sandboxing flag set does not have its
sandboxed modals flag set, and the Prompt to unload browsingContext's active
- document with the recursiveFlag set. If the user refused to allow
- the document to be unloaded, then the user implicitly also refused to allow document to be
- unloaded; break. If the salvageable state of
- browsingContext's active document is false, then set the salvageable state of document to
- false.PageTransitionEventInit : EventInit {
If the user refused to allow the document to be unloaded, then the user + implicitly also refused to allow + document to be unloaded; break.
Set document's page showing flag to false.
If the user agent does not intend to keep document alive + in a session history entry (such that it can be reused later on history traversal), set document's + salvageable state to false.
Fire an event named pagehide
at document's relevant global
object, using PageTransitionEvent
, with the PageTransitionEventInit : EventInit {
Unload event: If document's fired unload flag is
- false, then fire an event named unload
at document's relevant global object,
- with legacy target override flag set.
Unload event: If document's salvageable state is false, then fire an event named unload
+ at document's relevant global object, with legacy target override
+ flag set.
Decrease the event loop's termination nesting level by one.
If any event listeners were triggered by the earlier unload event step, then set - document's salvageable state - to false and set document's fired unload flag to true.
Run any unloading document cleanup steps for document that are defined by this specification and other applicable specifications.