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

Issue 718093002: Introduce the NotificationEvent object. (Closed)

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

Description

Introduce the NotificationEvent object. Notification events delivered to Service Workers (notificationclick and notificationerror) will receive an instance of the Notification object which they were triggered for, represented through a NotificationEvent. It's of the SW ExtendableEvent type. BUG=432527 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185296

Patch Set 1 #

Patch Set 2 : add a test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -0 lines) Patch
A LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js View 1 1 chunk +7 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/notifications/serviceworker-notification-event.html View 1 1 chunk +17 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 3 chunks +4 lines, -0 lines 0 comments Download
M Source/modules/notifications/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
A Source/modules/notifications/NotificationEvent.h View 1 chunk +50 lines, -0 lines 0 comments Download
A Source/modules/notifications/NotificationEvent.cpp View 1 chunk +39 lines, -0 lines 0 comments Download
A Source/modules/notifications/NotificationEvent.idl View 1 chunk +14 lines, -0 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Peter Beverloo
PTAL
6 years, 1 month ago (2014-11-12 15:39:58 UTC) #2
Michael van Ouwerkerk
lgtm What's your test plan?
6 years, 1 month ago (2014-11-12 18:03:01 UTC) #3
Mike West
The code looks fine, but mvanouwerkerk@ is totally right. There should at least be a ...
6 years, 1 month ago (2014-11-13 09:56:16 UTC) #4
blink-reviews
I'm not sure this is meaningfully testable without follow-up patches, so I'll take 'later' for ...
6 years, 1 month ago (2014-11-13 10:21:00 UTC) #5
Peter Beverloo
On 2014/11/13 10:21:00, blink-reviews wrote: > I'm not sure this is meaningfully testable without follow-up ...
6 years, 1 month ago (2014-11-13 14:10:59 UTC) #6
Mike West
LGTM. :)
6 years, 1 month ago (2014-11-13 14:16:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/718093002/20001
6 years, 1 month ago (2014-11-13 14:17:03 UTC) #9
commit-bot: I haz the power
6 years, 1 month ago (2014-11-13 15:24:41 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 185296

Powered by Google App Engine
This is Rietveld 408576698