Skip to content

Commit 35c150b

Browse files
Meta: export various terms used by Service Workers
Co-authored-by: Domenic Denicola <d@domenic.me>
1 parent b47f6ee commit 35c150b

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

source

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -88578,11 +88578,11 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
8857888578
<span>navigable</span>'s <span data-x="nav-active-history-entry">active history entry</span> can
8857988579
change synchronously, the new entry will always have the same <code>Document</code>.</p>
8858088580

88581-
<p>A <span>navigable</span>'s <dfn data-x="nav-bc">active browsing context</dfn> is its <span
88582-
data-x="nav-document">active document</span>'s <span data-x="concept-document-bc">browsing
88583-
context</span>. If this <span>navigable</span> is a <span>traversable navigable</span>, then its
88584-
<span data-x="nav-bc">active browsing context</span> will be a <span>top-level browsing
88585-
context</span>.</p>
88581+
<p>A <span>navigable</span>'s <dfn export for="navigable" data-x="nav-bc">active browsing
88582+
context</dfn> is its <span data-x="nav-document">active document</span>'s <span
88583+
data-x="concept-document-bc">browsing context</span>. If this <span>navigable</span> is a
88584+
<span>traversable navigable</span>, then its <span data-x="nav-bc">active browsing context</span>
88585+
will be a <span>top-level browsing context</span>.</p>
8858688586

8858788587
<p>A <span>navigable</span>'s <dfn data-x="nav-wp">active <code>WindowProxy</code></dfn> is its
8858888588
<span data-x="nav-bc">active browsing context</span>'s associated <code>WindowProxy</code>.</p>
@@ -96876,7 +96876,8 @@ new PaymentRequest(&hellip;); // Allowed to use
9687696876
<span>JavaScript execution context stack</span> that has a non-null ScriptOrModule component, or
9687796877
null if there is no such entry in the <span>JavaScript execution context stack</span>.</p>
9687896878

96879-
<p>With all this in place, the <dfn>incumbent settings object</dfn> is determined as follows:</p>
96879+
<p>With all this in place, the <dfn export>incumbent settings object</dfn> is determined as
96880+
follows:</p>
9688096881

9688196882
<ol>
9688296883
<li><p>Let <var>context</var> be the <span>topmost script-having execution
@@ -96910,12 +96911,12 @@ new PaymentRequest(&hellip;); // Allowed to use
9691096911
data-x="concept-realm-settings-object">settings object</span>.</p></li>
9691196912
</ol>
9691296913

96913-
<p>Then, the <dfn data-x="concept-incumbent-realm">incumbent realm</dfn> is the <span
96914+
<p>Then, the <dfn export data-x="concept-incumbent-realm">incumbent realm</dfn> is the <span
9691496915
data-x="environment settings object's realm">realm</span> of the <span>incumbent settings
9691596916
object</span>.</p>
9691696917

96917-
<p>Similarly, the <dfn data-x="concept-incumbent-global">incumbent global object</dfn> is the
96918-
<span data-x="concept-settings-object-global">global object</span> of the <span>incumbent
96918+
<p>Similarly, the <dfn export data-x="concept-incumbent-global">incumbent global object</dfn> is
96919+
the <span data-x="concept-settings-object-global">global object</span> of the <span>incumbent
9691996920
settings object</span>.</p>
9692096921

9692196922
<hr>
@@ -98679,11 +98680,12 @@ document.querySelector("button").addEventListener("click", bound);
9867998680
<h5>Killing scripts</h5>
9868098681

9868198682
<p>Although the JavaScript specification does not account for this possibility, it's sometimes
98682-
necessary to <dfn>abort a running script</dfn>. This causes any <span
98683-
data-x="js-ScriptEvaluation">ScriptEvaluation</span> or <span>Source Text Module Record</span>
98684-
<span data-x="js-Evaluate">Evaluate</span> invocations to cease immediately, emptying the
98685-
<span>JavaScript execution context stack</span> without triggering any of the normal mechanisms
98686-
like <code data-x="">finally</code> blocks. <ref spec=JAVASCRIPT></p>
98683+
necessary to <dfn data-lt="abort a running script|abort the running script" export>abort a
98684+
running script</dfn>. This causes any <span data-x="js-ScriptEvaluation">ScriptEvaluation</span>
98685+
or <span>Source Text Module Record</span> <span data-x="js-Evaluate">Evaluate</span> invocations
98686+
to cease immediately, emptying the <span>JavaScript execution context stack</span> without
98687+
triggering any of the normal mechanisms like <code data-x="">finally</code> blocks. <ref
98688+
spec=JAVASCRIPT></p>
9868798689

9868898690
<p>User agents may impose resource limitations on scripts, for example CPU quotas, memory limits,
9868998691
total execution time limits, or bandwidth limitations. When a script exceeds a limit, the user
@@ -103544,11 +103546,11 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
103544103546

103545103547
<div w-nodev>
103546103548

103547-
<p>Objects that implement the <code>WindowOrWorkerGlobalScope</code> mixin have a <dfn>map of
103548-
active timers</dfn>, which is a <span>map</span>, initially empty. Each <span data-x="map
103549-
key">key</span> in this map is an identifier for a timer, and each <span data-x="map
103550-
value">value</span> is a <code>DOMHighResTimeStamp</code>, representing the expiry time for that
103551-
timer.</p>
103549+
<p>Objects that implement the <code>WindowOrWorkerGlobalScope</code> mixin have a <dfn export
103550+
for="WindowOrWorkerGlobalScope">map of active timers</dfn>, which is a <span>map</span>,
103551+
initially empty. Each <span data-x="map key">key</span> in this map is an identifier for a timer,
103552+
and each <span data-x="map value">value</span> is a <code>DOMHighResTimeStamp</code>,
103553+
representing the expiry time for that timer.</p>
103552103554

103553103555
<p class="note">For entries put in the <span>map of active timers</span> by the <span>timer
103554103556
initialization steps</span>, i.e., by <code data-x="dom-setTimeout">setTimeout()</code> and <code
@@ -108097,7 +108099,7 @@ function showLogout() {
108097108099

108098108100

108099108101

108100-
<h2 split-filename="workers" id="workers" dfn data-lt="web worker">Web workers</h2>
108102+
<h2 split-filename="workers" id="workers" dfn data-lt="web worker" export>Web workers</h2>
108101108103

108102108104
<h3>Introduction</h3>
108103108105

0 commit comments

Comments
 (0)