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

Issue 516843004: Fix crash when accessing Event::path(). (Closed)

Created:
6 years, 3 months ago by vogelheim
Modified:
6 years, 3 months ago
Reviewers:
haraken
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Fix crash when accessing Event::path(). (A more elaborate account of the details is found in the bug report.) BUG=400476 R=haraken@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181200

Patch Set 1 #

Patch Set 2 : Added regression test. #

Total comments: 22

Patch Set 3 : More work on the test case. #

Total comments: 4

Patch Set 4 : Review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -2 lines) Patch
A LayoutTests/http/tests/dom/crash-on-querying-event-path.html View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/dom/crash-on-querying-event-path-expected.txt View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M Source/core/events/Event.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/Event.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (1 generated)
vogelheim
6 years, 3 months ago (2014-08-28 13:38:40 UTC) #1
haraken
LGTM, thanks for the fix!
6 years, 3 months ago (2014-08-28 13:39:51 UTC) #2
haraken
oh, can you add the test case in the bug?
6 years, 3 months ago (2014-08-28 13:40:13 UTC) #3
vogelheim
Added test. PTAL.
6 years, 3 months ago (2014-08-28 17:23:13 UTC) #4
haraken
Please refer to other layout tests that use js-test.js and follow the coding style. https://codereview.chromium.org/516843004/diff/20001/LayoutTests/fast/dom/event-400476.html ...
6 years, 3 months ago (2014-08-28 17:32:39 UTC) #5
vogelheim
PTAL. I did quite a bit of fiddling with the test case and never quite ...
6 years, 3 months ago (2014-08-29 15:20:53 UTC) #6
haraken
LGTM. As long as there are no false negatives, it's worth having the test. Does ...
6 years, 3 months ago (2014-08-31 06:54:15 UTC) #7
vogelheim
On Sun, Aug 31, 2014 at 8:54 AM, <haraken@chromium.org> wrote: > Does this test need ...
6 years, 3 months ago (2014-09-01 14:23:33 UTC) #8
haraken
> > Does this test need to be added to http/tests/ ? If no, let's ...
6 years, 3 months ago (2014-09-01 14:28:44 UTC) #9
vogelheim
https://codereview.chromium.org/516843004/diff/40001/LayoutTests/http/tests/dom/crash-on-querying-event-path.html File LayoutTests/http/tests/dom/crash-on-querying-event-path.html (right): https://codereview.chromium.org/516843004/diff/40001/LayoutTests/http/tests/dom/crash-on-querying-event-path.html#newcode5 LayoutTests/http/tests/dom/crash-on-querying-event-path.html:5: var jsTestIsAsync = true; On 2014/08/31 06:54:15, haraken wrote: ...
6 years, 3 months ago (2014-09-01 14:31:12 UTC) #10
vogelheim
On Mon, Sep 1, 2014 at 4:28 PM, <haraken@chromium.org> wrote: > > Does this test ...
6 years, 3 months ago (2014-09-01 14:53:45 UTC) #11
haraken
On 2014/09/01 14:53:45, vogelheim wrote: > On Mon, Sep 1, 2014 at 4:28 PM, <mailto:haraken@chromium.org> ...
6 years, 3 months ago (2014-09-01 14:55:34 UTC) #12
vogelheim
On Mon, Sep 1, 2014 at 4:55 PM, <haraken@chromium.org> wrote: > On 2014/09/01 14:53:45, vogelheim ...
6 years, 3 months ago (2014-09-01 15:09:20 UTC) #13
haraken
OK, then let's put the test in http/tests/ and land. LGTM. It's an unfortunate that ...
6 years, 3 months ago (2014-09-01 15:10:55 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vogelheim@chromium.org/516843004/60001
6 years, 3 months ago (2014-09-01 17:06:19 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 3 months ago (2014-09-01 18:08:15 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 181200
6 years, 3 months ago (2014-09-01 18:52:50 UTC) #18
tkent
6 years, 3 months ago (2014-09-02 01:53:46 UTC) #19
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/532593002/ by tkent@chromium.org.

The reason for reverting is: The test crash-on-querying-event-path.html is
unacceptably flaky.
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=@To...
.

Powered by Google App Engine
This is Rietveld 408576698