Skip to content

Commit ab5af97

Browse files
authored
Prohibit arbitrary termination of AudioWorkletGlobalScopes
Part of w3c/css-houdini-drafts#470 and whatwg/html#6072.
1 parent a2ade4a commit ab5af97

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

index.bs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ Attributes</h4>
764764
::
765765
Allows access to the <code>Worklet</code> object that can import
766766
a script containing {{AudioWorkletProcessor}}
767-
class definitions via the algorithms defined by [[!worklets-1]]
767+
class definitions via the algorithms defined by [[!HTML]]
768768
and {{AudioWorklet}}.
769769

770770
: <dfn>currentTime</dfn>
@@ -9787,7 +9787,10 @@ with {{AudioWorkletNode}}s in the main scope.
97879787
Exactly one {{AudioWorkletGlobalScope}} exists for each
97889788
{{AudioContext}} that contains one or more
97899789
{{AudioWorkletNode}}s. The running of imported scripts is
9790-
performed by the UA as defined in [[!worklets-1]].
9790+
performed by the UA as defined in [[!HTML]]. Overriding the default
9791+
specified in [[!HTML]], {{AudioWorkletGlobalScope}}s must not be
9792+
[=terminate a worklet global scope|terminated=] arbitrarily by the user
9793+
agent.
97919794

97929795
An {{AudioWorkletGlobalScope}} has the following internal slots:
97939796

@@ -12351,7 +12354,7 @@ to Consider</a>
1235112354
6. Does this specification enable new script execution/loading
1235212355
mechanisms?
1235312356

12354-
No. It does use the [[worklets-1]] script execution method,
12357+
No. It does use the [[HTML]] script execution method,
1235512358
defined in that specification.
1235612359

1235712360
7. Does this specification allow an origin access to a user’s

0 commit comments

Comments
 (0)