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

Issue 539453002: Crashed at ImageEventListener::cast & ConditionEventListener::cast (Closed)

Created:
6 years, 3 months ago by Miyoung Shin(g)
Modified:
6 years, 3 months ago
Reviewers:
sof
CC:
blink-reviews, ed+blinkwatch_opera.com, shans, rjwright, Mike Lawther (Google), blink-reviews-animation_chromium.org, blink-reviews-html_chromium.org, rwlbuis, Timothy Loh, kouhei+svg_chromium.org, fs, dstockwell, dglazkov+blink, krit, f(malita), gyuyoung.kim_webkit.org, darktears, Stephen Chennney, Steve Block, pdr., Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Crashed at ImageEventListener::cast & ConditionEventListener::cast. Add null checking in EventTarget::removeEventListener, because we shouldn't be passing in a null listener reference to the ==()operator. BUG=377425 R=sigbjornf@opera.com Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181514

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -3 lines) Patch
A LayoutTests/fast/images/image-document-remove-listener.html View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
A + LayoutTests/fast/images/image-document-remove-listener-expected.txt View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/events/EventTarget.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/events/RegisteredEventListener.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (1 generated)
Miyoung Shin(g)
6 years, 3 months ago (2014-09-03 09:55:18 UTC) #1
sof
Do you think you can put together tests for the problematic condition? (Then we can ...
6 years, 3 months ago (2014-09-03 10:49:59 UTC) #2
Miyoung Shin(g)
On 2014/09/03 10:49:59, sof wrote: > Do you think you can put together tests for ...
6 years, 3 months ago (2014-09-03 12:46:46 UTC) #3
Miyoung Shin(g)
When calling removeEventListener several times by JS, from the second time, we get null from ...
6 years, 3 months ago (2014-09-03 12:59:17 UTC) #4
kouhei (in TOK)
On 2014/09/03 12:46:46, Miyoung Shin(g) wrote: > On 2014/09/03 10:49:59, sof wrote: > > Do ...
6 years, 3 months ago (2014-09-03 13:41:20 UTC) #5
Miyoung Shin(g)
On 2014/09/03 13:41:20, kouhei wrote: > On 2014/09/03 12:46:46, Miyoung Shin(g) wrote: > > On ...
6 years, 3 months ago (2014-09-03 14:04:42 UTC) #6
Miyoung Shin(g)
This is backtrace. Received signal 11 SEGV_MAPERR 000000000018 #0 0x7f734e920f8e [7383:7383:0905/235427:INFO:CONSOLE(3)] "blur, before remove", source: ...
6 years, 3 months ago (2014-09-05 14:56:06 UTC) #7
sof
On 2014/09/05 14:56:06, Miyoung Shin(g) wrote: > This is backtrace. > > Received signal 11 ...
6 years, 3 months ago (2014-09-05 16:27:29 UTC) #8
sof
https://codereview.chromium.org/551473002/ has a testcase. As to addressing the problem, have a look at http://crbug.com/249598's changes ...
6 years, 3 months ago (2014-09-06 06:26:50 UTC) #9
Miyoung Shin(g)
On 2014/09/06 06:26:50, sof wrote: > https://codereview.chromium.org/551473002/ has a testcase. > > As to addressing ...
6 years, 3 months ago (2014-09-06 11:01:30 UTC) #10
sof
On 2014/09/06 11:01:30, Miyoung Shin(g) wrote: > On 2014/09/06 06:26:50, sof wrote: > > https://codereview.chromium.org/551473002/ ...
6 years, 3 months ago (2014-09-06 13:22:42 UTC) #11
Miyoung Shin(g)
On 2014/09/06 13:22:42, sof wrote: > On 2014/09/06 11:01:30, Miyoung Shin(g) wrote: > > On ...
6 years, 3 months ago (2014-09-07 01:50:44 UTC) #12
sof
lgtm, thanks for iterating on this one. (no need to wait on approval for the ...
6 years, 3 months ago (2014-09-07 04:49:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/myid.o.shin@gmail.com/539453002/80001
6 years, 3 months ago (2014-09-07 05:35:51 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-07 08:34:14 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 181514

Powered by Google App Engine
This is Rietveld 408576698