Skip to content

Commit 34af0c8

Browse files
jyasskindomenic
authored andcommitted
Remove a Document from its session history entry when it's discarded
As implied by the Note after the definition of session history entries.
1 parent 775cfc2 commit 34af0c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78947,6 +78947,10 @@ dictionary <dfn>WindowPostMessageOptions</dfn> : <span>PostMessageOptions</span>
7894778947
<li><p><span data-x="a browsing context is discarded">Discard</span> all the <span data-x="child
7894878948
browsing context">child browsing contexts</span> of <var>document</var>.</p></li>
7894978949

78950+
<li><p>For each <span>session history entry</span> <var>entry</var> with a <code>Document</code>
78951+
object equal to <var>document</var>, remove <var>entry</var>'s <code>Document</code>
78952+
object.</p></li>
78953+
7895078954
<li><p>Lose the strong reference from <var>document</var>'s <span
7895178955
data-x="concept-document-bc">browsing context</span> to <var>document</var>.</p></li>
7895278956

0 commit comments

Comments
 (0)