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

Issue 780963004: Use event init dictionaries in modules/{notifications,push_messaging,serviceworkers} (Closed)

Created:
6 years ago by bashi
Modified:
6 years ago
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use event init dictionaries in modules/{notifications,push_messaging,serviceworkers} - Add ExtendableEventInit. This is the parent dictionary of following event inits: NotificationEventInit, PushEventInit, and InstallEventInit. - Replaces manually-written NotificationEventInit, PushEventInit, and InstallEventInit with IDL dictionaries. - Add tests. BUG=433179 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186746

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -51 lines) Patch
M LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js View 1 chunk +13 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/push_messaging/resources/pushevent-extendable-event.js View 1 chunk +12 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 chunks +12 lines, -0 lines 0 comments Download
M Source/modules/notifications/NotificationEvent.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/modules/notifications/NotificationEvent.cpp View 1 chunk +4 lines, -6 lines 0 comments Download
M Source/modules/notifications/NotificationEvent.idl View 1 1 chunk +1 line, -1 line 0 comments Download
A + Source/modules/notifications/NotificationEventInit.idl View 1 chunk +4 lines, -5 lines 0 comments Download
M Source/modules/push_messaging/PushEvent.h View 2 chunks +1 line, -6 lines 0 comments Download
M Source/modules/push_messaging/PushEvent.cpp View 2 chunks +2 lines, -5 lines 0 comments Download
M Source/modules/push_messaging/PushEvent.idl View 1 1 chunk +4 lines, -2 lines 0 comments Download
A + Source/modules/push_messaging/PushEventInit.idl View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
M Source/modules/serviceworkers/ExtendableEvent.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/modules/serviceworkers/ExtendableEvent.idl View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + Source/modules/serviceworkers/ExtendableEventInit.idl View 1 chunk +4 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/InstallEvent.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/modules/serviceworkers/InstallEvent.idl View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + Source/modules/serviceworkers/InstallEventInit.idl View 1 chunk +5 lines, -3 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeProxy.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
bashi
peter@, could you take a look at notifications and push_messaging? horo@, could you take a ...
6 years ago (2014-12-05 01:45:11 UTC) #3
haraken
LGTM
6 years ago (2014-12-05 02:26:27 UTC) #4
Peter Beverloo
lgtm for push and notifications. Rest LG as well. Thanks for doing this refactoring! https://codereview.chromium.org/780963004/diff/20001/Source/modules/notifications/NotificationEvent.idl ...
6 years ago (2014-12-05 15:48:33 UTC) #5
horo
lgtm
6 years ago (2014-12-05 20:34:07 UTC) #6
bashi
Thank you for reviews! https://codereview.chromium.org/780963004/diff/20001/Source/modules/notifications/NotificationEvent.idl File Source/modules/notifications/NotificationEvent.idl (right): https://codereview.chromium.org/780963004/diff/20001/Source/modules/notifications/NotificationEvent.idl#newcode11 Source/modules/notifications/NotificationEvent.idl:11: Constructor(DOMString type, optional NotificationEventInit eventInitDict), ...
6 years ago (2014-12-08 23:39:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/780963004/60001
6 years ago (2014-12-08 23:40:06 UTC) #9
commit-bot: I haz the power
6 years ago (2014-12-09 01:08:05 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186746

Powered by Google App Engine
This is Rietveld 408576698