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

Issue 1989103006: Fix event warning crash when a listener is removed while dispatching event (Closed)

Created:
4 years, 7 months ago by caseq
Modified:
4 years, 7 months ago
Reviewers:
dtapuska, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, mlamouri+watch-test-runner_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, jochen+watch_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix event warning crash when a listener is removed while dispatching event Also, expose TestRunner.setDumpConsoleMessages() to tests to control whether console messages are included into the test output. BUG=612377 Committed: https://crrev.com/cb2227837d5d0e6a59e73eb62e56d53534a69386 Cr-Commit-Position: refs/heads/master@{#395653}

Patch Set 1 #

Total comments: 1

Patch Set 2 : now compare against actual listener() #

Total comments: 1

Patch Set 3 : rebased #

Patch Set 4 : fixed rebaseline, fixed references to correct registered listener entry #

Patch Set 5 : fixed AtomicString usage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -4 lines) Patch
M components/test_runner/layout_test_runtime_flags.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M components/test_runner/layout_test_runtime_flags.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/test_runner/test_runner.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M components/test_runner/test_runner.cc View 1 2 4 chunks +17 lines, -0 lines 0 comments Download
M components/test_runner/web_frame_test_client.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/input-event-warning.html View 1 chunk +96 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/input-event-warning-expected.txt View 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventTarget.cpp View 1 2 3 4 2 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 34 (12 generated)
caseq
4 years, 7 months ago (2016-05-18 23:13:37 UTC) #2
dtapuska
https://codereview.chromium.org/1989103006/diff/1/third_party/WebKit/Source/core/events/EventTarget.cpp File third_party/WebKit/Source/core/events/EventTarget.cpp (left): https://codereview.chromium.org/1989103006/diff/1/third_party/WebKit/Source/core/events/EventTarget.cpp#oldcode574 third_party/WebKit/Source/core/events/EventTarget.cpp:574: reportBlockedEvent(context, event, &registeredListener, now - event->platformTimeStamp()); Eek, can we ...
4 years, 7 months ago (2016-05-18 23:44:17 UTC) #3
caseq
On 2016/05/18 23:44:17, dtapuska wrote: > https://codereview.chromium.org/1989103006/diff/1/third_party/WebKit/Source/core/events/EventTarget.cpp > File third_party/WebKit/Source/core/events/EventTarget.cpp (left): > > https://codereview.chromium.org/1989103006/diff/1/third_party/WebKit/Source/core/events/EventTarget.cpp#oldcode574 > ...
4 years, 7 months ago (2016-05-18 23:48:14 UTC) #4
caseq
ptal
4 years, 7 months ago (2016-05-19 00:13:14 UTC) #5
dtapuska
https://codereview.chromium.org/1989103006/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp File third_party/WebKit/Source/core/events/EventTarget.cpp (right): https://codereview.chromium.org/1989103006/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp#newcode577 third_party/WebKit/Source/core/events/EventTarget.cpp:577: if (shouldReportBlockedEvent && i > 0 && entry[i - ...
4 years, 7 months ago (2016-05-19 15:41:21 UTC) #6
caseq
On 2016/05/19 15:41:21, dtapuska wrote: > https://codereview.chromium.org/1989103006/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp > File third_party/WebKit/Source/core/events/EventTarget.cpp (right): > > https://codereview.chromium.org/1989103006/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp#newcode577 > ...
4 years, 7 months ago (2016-05-19 16:04:40 UTC) #7
dtapuska
On 2016/05/19 16:04:40, caseq wrote: > On 2016/05/19 15:41:21, dtapuska wrote: > > > https://codereview.chromium.org/1989103006/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp ...
4 years, 7 months ago (2016-05-19 16:06:31 UTC) #8
caseq
On 2016/05/19 16:06:31, dtapuska wrote: > On 2016/05/19 16:04:40, caseq wrote: > > On 2016/05/19 ...
4 years, 7 months ago (2016-05-19 16:15:26 UTC) #9
dtapuska
lgtm
4 years, 7 months ago (2016-05-20 14:59:46 UTC) #10
dtapuska
lgtm
4 years, 7 months ago (2016-05-20 14:59:47 UTC) #11
pfeldman
lgtm
4 years, 7 months ago (2016-05-23 16:57:03 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1989103006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1989103006/20001
4 years, 7 months ago (2016-05-23 16:58:33 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/10048) ios-simulator on ...
4 years, 7 months ago (2016-05-23 17:00:46 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1989103006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1989103006/40001
4 years, 7 months ago (2016-05-23 18:29:24 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/115773)
4 years, 7 months ago (2016-05-23 19:42:07 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1989103006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1989103006/60001
4 years, 7 months ago (2016-05-23 22:27:35 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/232529)
4 years, 7 months ago (2016-05-23 23:54:46 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1989103006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1989103006/80001
4 years, 7 months ago (2016-05-24 00:12:47 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/226845)
4 years, 7 months ago (2016-05-24 05:01:43 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1989103006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1989103006/80001
4 years, 7 months ago (2016-05-24 17:08:18 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-24 18:52:22 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 18:53:07 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cb2227837d5d0e6a59e73eb62e56d53534a69386
Cr-Commit-Position: refs/heads/master@{#395653}

Powered by Google App Engine
This is Rietveld 408576698