@@ -90144,7 +90144,8 @@ new PaymentRequest(…); // Allowed to use
90144
90144
90145
90145
<li>
90146
90146
<p><span data-x="unload a document">Unload</span> <var>previousDocument</var> with
90147
- <var>unloadTimingInfo</var>.</p>
90147
+ <var>unloadTimingInfo</var> and <var>newDocument</var>'s
90148
+ <span>relevant global object</span>.</p>
90148
90149
90149
90150
<p>If this instance of the <span data-x="navigate">navigation</span> algorithm is canceled while
90150
90151
this step is running the <span>unload a document</span> algorithm, then the <span>unload a
@@ -90154,6 +90155,11 @@ new PaymentRequest(…); // Allowed to use
90154
90155
execution occurring as part of unloading the document or its descendants.)</p>
90155
90156
</li>
90156
90157
90158
+ <li><p>If <var>newDocument</var>'s <span>event loop</span> is not <var>previousDocument</var>'s
90159
+ <span>event loop</span>, then the user agent may <span data-x="unload a document">unload</span>
90160
+ <var>previousDocument</var> <span>in parallel</span>, In that case, the user agent should set
90161
+ <var>unloadTimingInfo</var> to null.</p></li>
90162
+
90157
90163
<li><p>If <var>navigationParams</var>'s <span
90158
90164
data-x="navigation-params-has-cross-origin-redirects">has cross-origin redirects</span> is false,
90159
90165
and <var>newDocument</var>'s <span data-x="concept-document-origin">origin</span> is the <span
@@ -91429,8 +91435,9 @@ dictionary <dfn dictionary>PageTransitionEventInit</dfn> : <span>EventInit</span
91429
91435
</ol>
91430
91436
91431
91437
<p>To <dfn export data-x="unload a document" data-lt="unload a document">unload</dfn> a
91432
- <code>Document</code> <var>document</var>, given an optional <var>recursiveFlag</var> and a
91433
- <span>document unload timing info</span>-or-null <var>unloadTimingInfo</var> (default null):</p>
91438
+ <code>Document</code> <var>document</var>, given an optional <var>recursiveFlag</var>, a
91439
+ <span>document unload timing info</span>-or-null <var>unloadTimingInfo</var> (default null),
91440
+ and an optional <span>global object</span> <var>newGlobal</var>:</p>
91434
91441
91435
91442
<ol>
91436
91443
<li><p>Increase the <span>event loop</span>'s <span>termination nesting level</span> by
@@ -91457,11 +91464,14 @@ dictionary <dfn dictionary>PageTransitionEventInit</dfn> : <span>EventInit</span
91457
91464
<li><p><span>Update the visibility state</span> of <var>newDocument</var> to
91458
91465
"<code data-x="">hidden</code>".</p></li>
91459
91466
</ol>
91460
- </li>
91467
+ </li>
91461
91468
91462
91469
<li><p>If <var>unloadTimingInfo</var> is not null, then set <var>unloadTimingInfo</var>'s
91463
91470
<span>unload event start time</span> to the <span>current high resolution time</span> given
91464
- <var>document</var>'s <span>relevant global object</span>.</p></li>
91471
+ <var>newGlobal</var>, <span data-x="coarsen time">coarsened</span> given <var>document</var>'s
91472
+ <span>relevant settings object</span>'s <span
91473
+ data-x="concept-settings-object-cross-origin-isolated-capability">cross-origin isolated
91474
+ capability</span>.</p></li>
91465
91475
91466
91476
<li><p>If <var>document</var>'s <i data-x="concept-document-salvageable">salvageable</i> state is
91467
91477
false, then <span data-x="concept-event-fire">fire an event</span> named
@@ -91470,7 +91480,10 @@ dictionary <dfn dictionary>PageTransitionEventInit</dfn> : <span>EventInit</span
91470
91480
91471
91481
<li><p>If <var>unloadTimingInfo</var> is not null, then set <var>unloadTimingInfo</var>'s
91472
91482
<span>unload event end time</span> to the <span>current high resolution time</span> given
91473
- <var>document</var>'s <span>relevant global object</span>.</p></li>
91483
+ <var>newGlobal</var>, <span data-x="coarsen time">coarsened</span> given <var>document</var>'s
91484
+ <span>relevant settings object</span>'s <span
91485
+ data-x="concept-settings-object-cross-origin-isolated-capability">cross-origin isolated
91486
+ capability</span>.</p></li>
91474
91487
91475
91488
<li><p>Decrease the <span>event loop</span>'s <span>termination nesting level</span> by
91476
91489
one.</p></li>
0 commit comments