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

Issue 745713003: Mark the Notification as being closed before dispatching the event. (Closed)

Created:
6 years, 1 month ago by Peter Beverloo
Modified:
6 years, 1 month ago
Reviewers:
Mike West
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Mark the Notification as being closed before dispatching the event. This avoids a situation in which we can crash when the developer calls the Notification.close() method in the "onclose" event of a Notification. BUG=435201 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185800

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/modules/notifications/Notification.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Peter Beverloo
Mike: PTAL. This unfortunately isn't testable from Blink without plumbing through a TestRunner call for ...
6 years, 1 month ago (2014-11-21 12:11:16 UTC) #2
Peter Beverloo
On 2014/11/21 12:11:16, Peter Beverloo wrote: > Mike: PTAL. > > This unfortunately isn't testable ...
6 years, 1 month ago (2014-11-21 13:39:03 UTC) #3
Mike West
LGTM, thanks for the browser test.
6 years, 1 month ago (2014-11-21 13:51:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/745713003/1
6 years, 1 month ago (2014-11-21 13:52:06 UTC) #6
commit-bot: I haz the power
6 years, 1 month ago (2014-11-21 15:06:16 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185800

Powered by Google App Engine
This is Rietveld 408576698