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

Issue 1156703003: ServiceWorker: Introduce ExtendableMessageEvent to replace MessageEvent (Closed)

Created:
5 years, 7 months ago by xiang
Modified:
5 years, 5 months ago
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, serviceworker-reviews, arv+blink, vivekg_samsung, tzik, nhiroki, falken, vivekg, dglazkov+blink, blink-reviews-bindings_chromium.org, horo+watch_chromium.org, kinuko+serviceworker
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

ServiceWorker: Introduce ExtendableMessageEvent to replace MessageEvent. The message sent by ServiceWorker.postMessage() method will be ExtendableMessageEvent instead of MessageEvent. The 'source' attribute of the event could be Client or ServiceWorker or MessagePort. https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#extendablemessage-event-interface Chrome side CL: https://codereview.chromium.org/1235803003/ Blink side CL: this BUG=498596

Patch Set 1 #

Patch Set 2 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+430 lines, -18 lines) Patch
A LayoutTests/http/tests/serviceworker/extendable-message-event.html View 1 1 chunk +117 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/fetch-event-async-respond-with.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/serviceworker/fetch-event-respond-with-stops-propagation.html View 1 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/extendable-message-event-sender-worker.js View 1 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/extendable-message-event-worker.js View 1 1 chunk +25 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/extendable-message-event-worker-waituntil.js View 1 1 chunk +32 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
A + Source/bindings/modules/v8/custom/V8ExtendableMessageEventCustom.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Source/bindings/modules/v8/custom/custom.gni View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/modules/v8/custom/custom.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 5 chunks +7 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/ExtendableMessageEvent.h View 1 1 chunk +71 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/ExtendableMessageEvent.cpp View 1 1 chunk +109 lines, -0 lines 0 comments Download
A + Source/modules/serviceworkers/ExtendableMessageEvent.idl View 1 1 chunk +6 lines, -6 lines 0 comments Download
A + Source/modules/serviceworkers/ExtendableMessageEventInit.idl View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerRegistration.cpp View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/WaitUntilObserver.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/WaitUntilObserver.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeClientImpl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeClientImpl.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeProxy.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/web/ServiceWorkerGlobalScopeProxy.cpp View 1 2 chunks +18 lines, -2 lines 0 comments Download
M public/web/WebServiceWorkerContextClient.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M public/web/WebServiceWorkerContextProxy.h View 1 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
xiang
This's a working CL to implement ExtendableMessageEvent. There's a union type binding issue when I'm ...
5 years, 7 months ago (2015-05-26 02:05:04 UTC) #2
haraken
> There's a union type binding issue when I'm using (Client or ServiceWorker or > ...
5 years, 7 months ago (2015-05-26 02:10:04 UTC) #3
haraken
On 2015/05/26 02:10:04, haraken wrote: > > There's a union type binding issue when I'm ...
5 years, 7 months ago (2015-05-26 02:11:33 UTC) #4
xiang
On 2015/05/26 02:11:33, haraken wrote: > On 2015/05/26 02:10:04, haraken wrote: > > > There's ...
5 years, 7 months ago (2015-05-26 02:32:12 UTC) #5
haraken
+yutak > > On 2015/05/26 02:10:04, haraken wrote: > > > > There's a union ...
5 years, 7 months ago (2015-05-26 02:40:25 UTC) #7
bashi
On 2015/05/26 02:32:12, xiang wrote: > On 2015/05/26 02:11:33, haraken wrote: > > On 2015/05/26 ...
5 years, 7 months ago (2015-05-26 05:40:24 UTC) #8
xiang
5 years, 5 months ago (2015-07-15 04:29:44 UTC) #9
Thanks for the review.
But I have to close this as I don't have enough time to work on it atm, sorry.

Powered by Google App Engine
This is Rietveld 408576698