diff --git a/source b/source index c8fabd52432..0b26dac0e10 100644 --- a/source +++ b/source @@ -89382,6 +89382,19 @@ interface NotRestoredReasons { data-x="dom-not-restored-reasons-reasons">reasons's backing list with backingStruct's reasons.
+If backingStruct's children + is null, set notRestoredReasons's children to null. If not, for each child of backingStruct's children:
+Create a NotRestoredReasons
object given child and
+ realm and append it to notRestoredReasons's
+ children's backing list.
Return notRestoredReasons.
A not restored reasons is a struct with the @@ -91342,7 +91355,7 @@ interface NotRestoredReasons { name string, initially the empty string.
A notRestoredReasons, a
- NotRestoredReasons
or null, initially null.
not restored reasons
or null, initially null.
User agents may destroy the state to false.
-To build NotRestoredReasons object for document given Document
+
To build not restored reasons for document given Document
document:
Let notRestoredReasonsForDocument be a new NotRestoredReasons
- object, created in the relevant realm of
- document.
Let notRestoredReasonsForDocument be a new not restored reasons
.
Set notRestoredReasonsForDocument's URL to document's
data-x="nav-container">container is an iframe
element, then:
Set the value of notRestoredReasonsForDocument's src attribute to document's
- node navigable's container's
- src
attribute.
src
attribute.Set the value of notRestoredReasonsForDocument's id attribute to document's
- node navigable's container's
- id
attribute.
id
attribute.
Set the value of notRestoredReasonsForDocument's name attribute to document's
- node navigable's container's
- name
attribute.
name
attribute.
Append reason to
- notRestoredReasonsForDocument's reasons
's backing list.
reasons
.
If document's bfcache blocking reasons are empty, set
notRestoredReasonsForDocument's prevented bfcache state
- to "no
". If not, set
+ data-x="nrr-prevented-bfcache-state">prevented bfcache state to "no
". If not, set
notRestoredReasonsForDocument's prevented bfcache state
+ data-x="nrr-prevented-bfcache-state">prevented bfcache state
to "yes
".
For each navigable of document's @@ -95559,15 +95567,13 @@ location.href = '#foo';
Let childDocument be navigable's active document.
Build NotRestoredReasons object for document given childDocument. -
Build not restored reasons for document given childDocument.
Append childDocument's node
navigable's active session history entry's
document state's notRestoredReasons to
- notRestoredReasonsForDocument's children
's backing list.
children
.
@@ -95578,10 +95584,10 @@ location.href = '#foo';
notRestoredReasonsForDocument.
- To build NotRestoredReasons object for a top-level traversal and its descendants +
To build not restored reasons for a top-level traversal and its descendants given navigable navigable:
Build NotRestoredReasons object for document given navigable's +
Build not restored reasons for document given navigable's active document.
Let crossOriginDescendants be an empty list.
If oldDocument's node navigable is a top-level - traversable, build NotRestoredReasons object for a top-level traversal and its + traversable, build not restored reasons for a top-level traversal and its descendants given oldDocument's node navigable.
If oldDocument's salvageable state