diff --git a/source b/source index 2914c18f1fc..60fb32e02a9 100644 --- a/source +++ b/source @@ -89889,8 +89889,7 @@ dictionary PromiseRejectionEventInit : EventInit {
To deactivate an event handler given an EventTarget
object
eventTarget and a string name that is the name of an event handler, take the following
- steps:
Let handlerMap be eventTarget's event handler @@ -89911,10 +89910,24 @@ dictionary PromiseRejectionEventInit : EventInit { null.
To erase all event listeners and handlers given an EventTarget
object
+ eventTarget, run these steps:
If eventTarget has an associated event handler map, then for each + name → eventHandler of eventTarget's associated event + handler map, deactivate an event handler given eventTarget and + name.
Remove all event listeners given eventTarget.
This algorithm is used to define document.open(type, replace)
.
To activate an event handler given an EventTarget
object
eventTarget and a string name that is the name of an event handler, take the following
- steps:
Let handlerMap be eventTarget's event handler
@@ -90929,6 +90942,9 @@ document.body.appendChild(frame)
If document is not an active document, then return
document. Let window be document's relevant global object. If document's origin is not same origin to the
origin of the responsible document specified by the entry
settings object, then throw a " Abort document. For each shadow-including inclusive descendant node of
- document, remove all event listeners with node.SecurityError
"
@@ -90983,7 +90999,10 @@ document.body.appendChild(frame)
Erase all event listeners and handlers given window.
Remove any tasks associated with document in any task source.
For the global object, create a new Window
object
- window.
For the global object, create a new Window
object and set
+ window to it.
For the global this binding, use document's browsing
context's associated WindowProxy
.