@@ -30,7 +30,9 @@ type: interface
30
30
text: WebGLContextEvent
31
31
urlPrefix: https://tc39.github.io/ecma262/#; spec: ECMASCRIPT
32
32
text: Construct; url: sec-construct; type: abstract-op
33
- text: Realm; url: realm; type: dfn
33
+ type: dfn
34
+ text: Realm; url: realm
35
+ text: surrounding agent; url: surrounding-agent
34
36
urlPrefix: https://w3c.github.io/hr-time/#; spec: HR-TIME
35
37
type:typedef; urlPrefix: dom-; text: DOMHighResTimeStamp
36
38
type:dfn; text: time origin; url: dfn-time-origin
@@ -2273,16 +2275,14 @@ steps:
2273
2275
2274
2276
<h5 id=signaling-slot-change>Signaling slot change</h5>
2275
2277
2276
- <p> Each <a>unit of related similar-origin browsing contexts</a> has a
2277
- <dfn export>signal slot list</dfn> (a list of <a>slots</a> ). Unless stated otherwise it is empty.
2278
- [[!HTML]]
2278
+ <p> Each <a>similar-origin window agent</a> has <dfn noexport id=signal-slot-list>signal slots</dfn>
2279
+ (a <a for=/>set</a> of <a>slots</a> ), which is initially empty. [[!HTML]]
2279
2280
2280
2281
<p> To <dfn noexport>signal a slot change</dfn> , for a <a>slot</a> <var> slot</var> , run these steps:
2281
2282
2282
2283
<ol>
2283
- <li><p> If <var> slot</var> is not in <a>unit of related similar-origin browsing contexts</a> '
2284
- <a>signal slot list</a> , append <var> slot</var> to
2285
- <a>unit of related similar-origin browsing contexts</a> ' <a>signal slot list</a> .
2284
+ <li><p> <a for=set>Append</a> <var> slot</var> to <var> slot</var> 's <a>relevant agent</a>' s
2285
+ <a>signal slots</a> .
2286
2286
2287
2287
<li><p> <a>Queue a mutation observer compound microtask</a> .
2288
2288
</ol>
@@ -3256,13 +3256,13 @@ invoked, must run these steps:
3256
3256
3257
3257
<h3 id=mutation-observers>Mutation observers</h3>
3258
3258
3259
- <p> Each <a>unit of related similar-origin browsing contexts </a> has a
3259
+ <p> Each <a>similar-origin window agent </a> has a
3260
3260
<dfn noexport>mutation observer compound microtask queued flag</dfn> , which is initially unset.
3261
3261
[[!HTML]]
3262
3262
3263
- <p> Each <a>unit of related similar-origin browsing contexts </a> also has a
3264
- <dfn noexport>mutation observer list</dfn> (a <a for=/>list </a> of zero or more {{MutationObserver}}
3265
- objects), which is initially empty.
3263
+ <p> Each <a>similar-origin window agent </a> also has
3264
+ <dfn noexport id=mutation- observer- list>mutation observers </dfn> (a <a for=/>set </a> of zero or more
3265
+ {{MutationObserver}} objects), which is initially empty.
3266
3266
3267
3267
<p> To <dfn export>queue a mutation observer compound microtask</dfn> , run these steps:
3268
3268
@@ -3280,17 +3280,16 @@ objects), which is initially empty.
3280
3280
<ol>
3281
3281
<li><p> Unset <a>mutation observer compound microtask queued flag</a> .
3282
3282
3283
- <li><p> Let <var> notifyList </var> be a <a for=list >clone</a> of
3284
- <a>unit of related similar-origin browsing contexts</a> ' <a> mutation observer list </a> .
3283
+ <li><p> Let <var> notifySet </var> be a <a for=set >clone</a> of the <a>surrounding agent</a> 's
3284
+ <a>mutation observers </a> .
3285
3285
3286
- <li><p> Let <var> signalList </var> be a <a for=list >clone</a> of
3287
- <a>unit of related similar-origin browsing contexts</a> ' <a> signal slot list </a> .
3286
+ <li><p> Let <var> signalSet </var> be a <a for=set >clone</a> of the <a>surrounding agent</a> 's
3287
+ <a>signal slots </a> .
3288
3288
3289
- <li><p> <a for=list>Empty</a> <a>unit of related similar-origin browsing contexts</a> '
3290
- <a>signal slot list</a> .
3289
+ <li><p> <a for=set>Empty</a> the <a>surrounding agent</a> 's <a>signal slots</a> .
3291
3290
3292
3291
<li>
3293
- <p> <a for=list >For each</a> <var> mo</var> of <var> notifyList </var> ,
3292
+ <p> <a for=set >For each</a> <var> mo</var> of <var> notifySet </var> ,
3294
3293
<a>execute a compound microtask subtask</a> to run these steps: [[!HTML]]
3295
3294
3296
3295
<ol>
@@ -3309,7 +3308,7 @@ objects), which is initially empty.
3309
3308
and <var> mo</var> . If this throws an exception, then <a>report the exception</a> .
3310
3309
</ol>
3311
3310
3312
- <li><p> <a for=list >For each</a> <var> slot</var> of <var> signalList </var> , <a>fire an event</a>
3311
+ <li><p> <a for=set >For each</a> <var> slot</var> of <var> signalSet </var> , <a>fire an event</a>
3313
3312
named <code> slotchange</code> , with its {{Event/bubbles}} attribute set to true, at
3314
3313
<var> slot</var> .
3315
3314
</ol>
@@ -3451,8 +3450,8 @@ constructor, when invoked, must run these steps:
3451
3450
<li><p> Let <var> mo</var> be a new {{MutationObserver}} object whose
3452
3451
<a for=MutationObserver>callback</a> is <var> callback</var> .
3453
3452
3454
- <li><p> <a for=list >Append</a> <var> mo</var> to
3455
- <a>unit of related similar-origin browsing contexts</a> ' <a> mutation observer list </a> .
3453
+ <li><p> <a for=set >Append</a> <var> mo</var> to <var> mo </var> 's <a>relevant agent</a>' s
3454
+ <a>mutation observers </a> .
3456
3455
3457
3456
<li><p> Return <var> mo</var> .
3458
3457
</ol>
0 commit comments