File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ spec:html; type:dfn; for:environment settings object;
34
34
text: https state
35
35
text: referrer policy
36
36
spec:html; type:dfn; for:environment; text:id
37
+ spec:infra; type:dfn; text:list
37
38
spec:webidl; type:dfn; for:interface; text:inherit
38
39
</pre>
39
40
@@ -497,7 +498,12 @@ Issue(w3c/css-houdini-drafts#47): Need ability to load code into a {{WorkletGlob
497
498
Lifetime of the Worklet {#lifetime-of-the-worklet}
498
499
--------------------------------------------------
499
500
500
- The lifetime of a {{Worklet}} is tied to the object it belongs to, for example the {{Window}} .
501
+ {{Window}} objects have a <dfn export>\[[Worklets]]</dfn> internal slot. This contains a <a>list</a>
502
+ which is initially empty. When a {{Worklet}} is created it is <a for=list>appended</a> to this list.
503
+ A {{Worklet}} cannot outlive the {{Window}} which it belongs to.
504
+
505
+ Note: Most {{Worklet}} s will be instantiated lazily when the web developer wants to use them, it is
506
+ expected that they won't be created eagerly with the {{Window}} object.
501
507
502
508
The lifetime of a {{WorkletGlobalScope}} should be defined by subsequent specifications which
503
509
inherit from {{WorkletGlobalScope}} .
You can’t perform that action at this time.
0 commit comments