Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Issue 2245723002: Support "once" event listener option (Closed)

Created:
4 years, 4 months ago by Anton Obzhirov
Modified:
4 years, 3 months ago
Reviewers:
tkent, Xidorn Quan, dtapuska
CC:
blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support "once" event listener option Based partially on WebKit patch 18bb5a9195ffb934a2678a8b8805411443b552a3 submitted by cdumez@apple.com. BUG=615384 Committed: https://crrev.com/16d55b8e978e4ad50c858bc89f231dc568718da8 Cr-Commit-Position: refs/heads/master@{#415446}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Updated after review #

Total comments: 2

Patch Set 3 : Added comment about the iterator. #

Total comments: 1

Patch Set 4 : Added forcing 'once' to be always defined." #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -9 lines) Patch
D third_party/WebKit/LayoutTests/imported/wpt/dom/events/AddEventListenerOptions-once-expected.txt View 1 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/events/AddEventListenerOptions.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventTarget.cpp View 1 2 3 3 chunks +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/events/RegisteredEventListener.h View 1 2 3 5 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (13 generated)
Anton Obzhirov
On 2016/08/12 17:18:42, Anton Obzhirov wrote: > mailto:a.obzhirov@samsung.com changed reviewers: > + mailto:dtapuska@chromium.org, mailto:quanxunzhen@gmail.com, mailto:tkent@chromium.org ...
4 years, 4 months ago (2016-08-12 17:20:39 UTC) #3
Anton Obzhirov
On 2016/08/12 17:20:39, Anton Obzhirov wrote: > On 2016/08/12 17:18:42, Anton Obzhirov wrote: > > ...
4 years, 4 months ago (2016-08-12 17:24:36 UTC) #4
dtapuska
https://codereview.chromium.org/2245723002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/dom/events/AddEventListenerOptions-once2.html File third_party/WebKit/LayoutTests/imported/wpt/dom/events/AddEventListenerOptions-once2.html (right): https://codereview.chromium.org/2245723002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/dom/events/AddEventListenerOptions-once2.html#newcode3 third_party/WebKit/LayoutTests/imported/wpt/dom/events/AddEventListenerOptions-once2.html:3: <title>EventListenerOptions.once</title> You shouldn't add a test to the imported ...
4 years, 4 months ago (2016-08-12 18:44:02 UTC) #5
Xidorn Quan
Most of the new tests look fine, but some of them overlaps the existing test. ...
4 years, 4 months ago (2016-08-13 03:20:41 UTC) #6
Anton Obzhirov
Hi guys, thanks for review. I will remove my test since it is not supposed ...
4 years, 4 months ago (2016-08-15 22:18:01 UTC) #7
Anton Obzhirov
On 2016/08/15 22:18:01, Anton Obzhirov wrote: > Hi guys, thanks for review. I will remove ...
4 years, 4 months ago (2016-08-18 14:59:50 UTC) #8
dtapuska
On 2016/08/18 14:59:50, Anton Obzhirov wrote: > On 2016/08/15 22:18:01, Anton Obzhirov wrote: > > ...
4 years, 4 months ago (2016-08-18 15:18:06 UTC) #9
tkent
Did you sent intent-to-ship to blink-dev? https://codereview.chromium.org/2245723002/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp File third_party/WebKit/Source/core/events/EventTarget.cpp (right): https://codereview.chromium.org/2245723002/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp#newcode627 third_party/WebKit/Source/core/events/EventTarget.cpp:627: removeEventListener(event->type(), listener, registeredListener.capture()); ...
4 years, 4 months ago (2016-08-19 02:21:16 UTC) #10
Anton Obzhirov
I sent the intent to implement. Will also update the patch. https://codereview.chromium.org/2245723002/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp File third_party/WebKit/Source/core/events/EventTarget.cpp (right): ...
4 years, 4 months ago (2016-08-19 10:41:39 UTC) #11
Anton Obzhirov
On 2016/08/19 10:41:39, Anton Obzhirov wrote: > I sent the intent to implement. Will also ...
4 years, 4 months ago (2016-08-22 15:49:50 UTC) #12
dtapuska
On 2016/08/22 at 15:49:50, a.obzhirov wrote: > On 2016/08/19 10:41:39, Anton Obzhirov wrote: > > ...
4 years, 4 months ago (2016-08-22 15:56:57 UTC) #13
tkent
The intent-to-ship was approved. LGTM.
4 years, 4 months ago (2016-08-23 00:35:50 UTC) #14
Anton Obzhirov
On 2016/08/22 15:56:57, dtapuska wrote: > On 2016/08/22 at 15:49:50, a.obzhirov wrote: > > On ...
4 years, 4 months ago (2016-08-23 08:27:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2245723002/40001
4 years, 4 months ago (2016-08-23 08:28:12 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/223018)
4 years, 4 months ago (2016-08-23 09:31:03 UTC) #20
Anton Obzhirov
On 2016/08/23 09:31:03, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 4 months ago (2016-08-24 16:22:09 UTC) #21
dtapuska
https://codereview.chromium.org/2245723002/diff/40001/third_party/WebKit/Source/core/events/AddEventListenerOptions.idl File third_party/WebKit/Source/core/events/AddEventListenerOptions.idl (right): https://codereview.chromium.org/2245723002/diff/40001/third_party/WebKit/Source/core/events/AddEventListenerOptions.idl#newcode9 third_party/WebKit/Source/core/events/AddEventListenerOptions.idl:9: boolean once; This should likely be: boolean once = ...
4 years, 4 months ago (2016-08-24 17:24:57 UTC) #22
Anton Obzhirov
On 2016/08/24 17:24:57, dtapuska wrote: > https://codereview.chromium.org/2245723002/diff/40001/third_party/WebKit/Source/core/events/AddEventListenerOptions.idl > File third_party/WebKit/Source/core/events/AddEventListenerOptions.idl (right): > > https://codereview.chromium.org/2245723002/diff/40001/third_party/WebKit/Source/core/events/AddEventListenerOptions.idl#newcode9 > ...
4 years, 3 months ago (2016-08-25 12:20:09 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2245723002/60001
4 years, 3 months ago (2016-08-25 12:20:40 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/281082)
4 years, 3 months ago (2016-08-25 16:29:53 UTC) #28
Anton Obzhirov
On 2016/08/25 16:29:53, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 3 months ago (2016-08-26 09:50:33 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2245723002/60001
4 years, 3 months ago (2016-08-26 13:53:22 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/281977)
4 years, 3 months ago (2016-08-26 17:47:40 UTC) #33
Anton Obzhirov
On 2016/08/26 17:47:40, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 3 months ago (2016-08-30 19:57:30 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2245723002/60001
4 years, 3 months ago (2016-08-30 20:03:55 UTC) #36
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-30 21:54:15 UTC) #38
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 21:56:04 UTC) #40
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/16d55b8e978e4ad50c858bc89f231dc568718da8
Cr-Commit-Position: refs/heads/master@{#415446}

Powered by Google App Engine
This is Rietveld 408576698