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

Issue 715013003: ExtendableEvent and InstallEvent should have an EventConstructor (Closed)

Created:
6 years, 1 month ago by Peter Beverloo
Modified:
6 years, 1 month ago
Reviewers:
falken, michaeln, Mike West, horo
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, horo+watch_chromium.org, Michael van Ouwerkerk, johnme
Project:
blink
Visibility:
Public.

Description

ExtendableEvent and InstallEvent should have an EventConstructor This brings the events in line with the Service Worker specification. This allows us to implement events deriving from ExtendableEvent (most notably Push, NotificationClick and NotificationError) according to their specifications as well. BUG=420896 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185365

Patch Set 1 #

Patch Set 2 : basic layout test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -10 lines) Patch
M LayoutTests/http/tests/serviceworker/interfaces-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js View 1 1 chunk +6 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ExtendableEvent.h View 2 chunks +6 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/ExtendableEvent.cpp View 2 chunks +14 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/ExtendableEvent.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/InstallEvent.h View 2 chunks +6 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/InstallEvent.cpp View 2 chunks +12 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/InstallEvent.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeProxy.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (5 generated)
Peter Beverloo
+horo for Service Workers. The install event does not have the "activeWorker" property yet, so ...
6 years, 1 month ago (2014-11-12 17:29:13 UTC) #2
falken
Drive-by comment: you can use BUG=420896 A test would also be good.
6 years, 1 month ago (2014-11-13 01:36:10 UTC) #4
horo
Looks good. But please add LayoutTest for creating InstallEvent as falken@ is saying.
6 years, 1 month ago (2014-11-13 03:02:27 UTC) #5
Peter Beverloo
On 2014/11/13 03:02:27, horo wrote: > Looks good. > But please add LayoutTest for creating ...
6 years, 1 month ago (2014-11-13 12:01:52 UTC) #6
Peter Beverloo
+michaeln for review.
6 years, 1 month ago (2014-11-13 14:56:53 UTC) #8
horo
lgtm
6 years, 1 month ago (2014-11-14 03:48:25 UTC) #9
Peter Beverloo
Thanks! +mkwst for Source/web/ stamp.
6 years, 1 month ago (2014-11-14 09:23:19 UTC) #11
Mike West
Source/web LGTM.
6 years, 1 month ago (2014-11-14 10:15:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/715013003/20001
6 years, 1 month ago (2014-11-14 10:25:10 UTC) #14
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 11:28:16 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 185365

Powered by Google App Engine
This is Rietveld 408576698