@@ -102389,17 +102389,18 @@ dictionary <dfn dictionary>WorkletOptions</dfn> {
102389
102389
<code>Document</code> will <span data-x="terminate a worklet global scope">terminate</span> the
102390
102390
corresponding <code>WorkletGlobalScope</code> and allow it to be garbage-collected.</p>
102391
102391
102392
- <p>Additionally, specifications which inherit from <code>WorkletGlobalScope</code> and define
102393
- specific worklet types can give more specific details on when to <span data-x="create a worklet
102394
- global scope">create</span> or <span data-x="terminate a worklet global scope">terminate</span>
102395
- the <code>WorkletGlobalScope</code>s for a given worklet type. For example, they might create them
102396
- during specific processes that call upon worklet code, as in the <a
102397
- href="#worklets-example-registering">example</a>. Or they might terminate them if the
102392
+ <p>Additionally, user agents may, at any time, <span data-x="terminate a worklet global
102393
+ scope">terminate</span> a given <code>WorkletGlobalScope</code>, unless the specification defining
102394
+ the corresponding worklet type says otherwise. For example, they might terminate them if the
102398
102395
<span>worklet agent</span>'s <span data-x="concept-agent-event-loop">event loop</span> has no
102399
102396
<span data-x="concept-task">tasks</span> queued, or if the user agent has no pending operations
102400
102397
planning to make use of the worklet, or if the user agent detects abnormal operations such as
102401
102398
infinite loops or callbacks exceeding imposed time limits.</p>
102402
102399
102400
+ <p>Finally, specifications for specific worklet types can give more specific details on when to
102401
+ <span data-x="create a worklet global scope">create</span> <code>WorkletGlobalScope</code>s for a
102402
+ given worklet type. For example, they might create them during specific processes that call upon
102403
+ worklet code, as in the <a href="#worklets-example-registering">example</a>.</p>
102403
102404
102404
102405
<h2 split-filename="webstorage" id="webstorage">Web storage</h2>
102405
102406
0 commit comments