From 1b5f154424ea56af7793129b35913006da6a1007 Mon Sep 17 00:00:00 2001 From: Luke Zielinski Date: Wed, 5 Dec 2018 15:07:00 -0500 Subject: [PATCH 1/4] Add a note about duplicate event listeners for removeEventListener --- dom.bs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dom.bs b/dom.bs index 32e859d3..5e9930d9 100644 --- a/dom.bs +++ b/dom.bs @@ -1216,6 +1216,9 @@ method, when invoked, must run these steps: with the context object and that event listener. +

The event listener list will not contain duplicate event listeners matching +type, callback, and capture because the add an event listener concept does not add duplicates. +

The dispatchEvent(event) method, when invoked, must run these steps: From 3f46acbde25b037a4b3a8436dcbfc2aef9921dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Wed, 5 Dec 2018 19:24:48 -0500 Subject: [PATCH 2/4] Update dom.bs Co-Authored-By: LukeZielinski <44509484+LukeZielinski@users.noreply.github.com> --- dom.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom.bs b/dom.bs index 5e9930d9..d6b552b3 100644 --- a/dom.bs +++ b/dom.bs @@ -1217,7 +1217,7 @@ method, when invoked, must run these steps:

The event listener list will not contain duplicate event listeners matching -type, callback, and capture because the add an event listener concept does not add duplicates. +type, callback, and capture because add an event listener does not add duplicates.

The dispatchEvent(event) method, when invoked, must run these steps: From 767d0b8f4cc7b9410fdab3ae797d921a6c039b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Wed, 5 Dec 2018 19:24:56 -0500 Subject: [PATCH 3/4] Update dom.bs Co-Authored-By: LukeZielinski <44509484+LukeZielinski@users.noreply.github.com> --- dom.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom.bs b/dom.bs index d6b552b3..5b617b81 100644 --- a/dom.bs +++ b/dom.bs @@ -1216,7 +1216,7 @@ method, when invoked, must run these steps: with the context object and that event listener. -

The event listener list will not contain duplicate event listeners matching +

The event listener list will not contain multiple event listeners matching type, callback, and capture because add an event listener does not add duplicates.

The dispatchEvent(event) method, when From 6c15c49c042c242f48d29973ee1b4272a3b7181b Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 10 Dec 2018 10:43:20 +0100 Subject: [PATCH 4/4] editorial nits --- dom.bs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dom.bs b/dom.bs index 5b617b81..b2bb20e6 100644 --- a/dom.bs +++ b/dom.bs @@ -1216,8 +1216,9 @@ method, when invoked, must run these steps: with the context object and that event listener. -

The event listener list will not contain multiple event listeners matching -type, callback, and capture because add an event listener does not add duplicates. +

The event listener list will not contain multiple event listeners with equal +type, callback, and capture, as add an event listener +prevents that.

The dispatchEvent(event) method, when invoked, must run these steps: @@ -10038,6 +10039,7 @@ Kirill Topolyan, Koji Ishii, Lachlan Hunt, Lauren Wood, +Luke Zielinski, Magne Andersson, Majid Valipour, Malte Ubl,