diff --git a/dom.bs b/dom.bs index a683e33a..793a57f9 100644 --- a/dom.bs +++ b/dom.bs @@ -2206,16 +2206,17 @@ steps:
Each unit of related similar-origin browsing contexts has a -signal slot list (a list of slots). Unless stated otherwise it is empty. -[[!HTML]] +
Each similar-origin window agent has a signal slot list (a list of +slots). Unless stated otherwise it is empty. [[!HTML]]
To signal a slot change, for a slot slot, run these steps:
If slot is not in unit of related similar-origin browsing contexts' - signal slot list, append slot to - unit of related similar-origin browsing contexts' signal slot list. +
Let agent be the similar-origin window agent to which slot's + relevant Realm belongs. + +
If slot is not in agent's signal slot list, then + append slot to agent's signal slot list.
Each unit of related similar-origin browsing contexts has a +
Each similar-origin window agent has a mutation observer compound microtask queued flag, which is initially unset. [[!HTML]] -
Each unit of related similar-origin browsing contexts also has a -mutation observer list (a list of zero or more {{MutationObserver}} -objects), which is initially empty. +
Each similar-origin window agent also has a mutation observer list (a +list of zero or more {{MutationObserver}} objects), which is initially empty.
To queue a mutation observer compound microtask, run these steps: @@ -3213,15 +3213,17 @@ objects), which is initially empty.
Let notifyList be a clone of - unit of related similar-origin browsing contexts' mutation observer list. +
Let agent be the similar-origin window agent current Realm belongs + to. -
Let signalList be a clone of - unit of related similar-origin browsing contexts' signal slot list. +
Let notifyList be a clone of agent's + mutation observer list. -
Let signalList be a clone of agent's signal slot list. +
Empty agent's signal slot list. +
For each mo of notifyList, execute a compound microtask subtask to run these steps: [[!HTML]] @@ -3384,8 +3386,10 @@ constructor, when invoked, must run these steps:
Let mo be a new {{MutationObserver}} object whose callback is callback. -
Append mo to - unit of related similar-origin browsing contexts' mutation observer list. +
Let agent be the similar-origin window agent mo's + relevant Realm belongs to. + +
Append mo to agent's mutation observer list.
Return mo.