JavaScript Spec - Relevant vs Surrounding Agent

131 Views Asked by At

Reading through the JavaScript and related specifications, these two concepts appear:

Some of the spec uses both. For example, in the steps of 4.2.2.5 Signaling slot change:

Append slot to slot’s relevant agent’s signal slots.

and then a bit further, into step 2:

If the surrounding agent’s mutation observer microtask queued is true, then return.

Are these concepts the same, in this case? Are they the same in all cases, from HTML's perspective?

0

There are 0 best solutions below