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

Issue 1008533005: Initial implementation of stashed message ports, blink side (Closed)

Created:
5 years, 9 months ago by Marijn Kruisselbrink
Modified:
5 years, 7 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, falken, horo+watch_chromium.org, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, kinuko+serviceworker, michaeln, nhiroki, rwlbuis, serviceworker-reviews, sof, tzik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Initial implementation of stashed message ports, blink side This is part of a series of patches to implement an initial version of a mechanism for a MessagePort to outlive a service worker as described in https://github.com/mkruisselbrink/navigator-connect/blob/gh-pages/docs/api-idea.md#persisted-messageports [1/3] this patch, blink side implementation [2/3] https://codereview.chromium.org/1110103003/, content side implementation [3/3] https://codereview.chromium.org/1063533002/, layout tests BUG=426458, 483108 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195535

Patch Set 1 #

Total comments: 22

Patch Set 2 : address comments #

Total comments: 10

Patch Set 3 : nits #

Patch Set 4 : add comment to ServiceWorkerGlobalScope.idl #

Total comments: 10

Patch Set 5 : address jochens initial comments #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -3 lines) Patch
M Source/core/dom/MessagePort.h View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/dom/MessagePort.cpp View 2 chunks +8 lines, -1 line 0 comments Download
M Source/modules/EventTargetModulesFactory.in View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 3 chunks +7 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScope.h View 1 4 chunks +5 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp View 2 chunks +8 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h View 1 chunk +1 line, -0 lines 0 comments Download
A Source/modules/serviceworkers/StashedMessagePort.h View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/StashedMessagePort.cpp View 1 2 1 chunk +73 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/StashedMessagePort.idl View 1 1 chunk +12 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/StashedPortCollection.h View 1 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/StashedPortCollection.cpp View 1 1 chunk +61 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/StashedPortCollection.idl View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeClientImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeClientImpl.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeProxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeProxy.cpp View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M public/web/WebServiceWorkerContextClient.h View 1 chunk +3 lines, -0 lines 0 comments Download
M public/web/WebServiceWorkerContextProxy.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (16 generated)
Marijn Kruisselbrink
5 years, 7 months ago (2015-04-30 23:05:31 UTC) #9
Marijn Kruisselbrink
5 years, 7 months ago (2015-04-30 23:05:33 UTC) #10
Marijn Kruisselbrink
actually I should probably get this reviewed before bothering serviceworker OWNERS; scheib, would you mind ...
5 years, 7 months ago (2015-05-05 21:47:07 UTC) #12
scheib
Looking generally good to me, some Qs: https://codereview.chromium.org/1008533005/diff/140001/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h File Source/modules/serviceworkers/ServiceWorkerGlobalScope.h (right): https://codereview.chromium.org/1008533005/diff/140001/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h#newcode71 Source/modules/serviceworkers/ServiceWorkerGlobalScope.h:71: Remove blank ...
5 years, 7 months ago (2015-05-06 21:44:31 UTC) #13
Marijn Kruisselbrink
https://codereview.chromium.org/1008533005/diff/140001/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h File Source/modules/serviceworkers/ServiceWorkerGlobalScope.h (right): https://codereview.chromium.org/1008533005/diff/140001/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h#newcode71 Source/modules/serviceworkers/ServiceWorkerGlobalScope.h:71: On 2015/05/06 21:44:30, scheib wrote: > Remove blank line ...
5 years, 7 months ago (2015-05-12 06:56:41 UTC) #15
scheib
LGTM
5 years, 7 months ago (2015-05-12 18:12:17 UTC) #16
Marijn Kruisselbrink
+falken for serviceworker OWNERS
5 years, 7 months ago (2015-05-12 23:47:57 UTC) #18
nhiroki
Let me make comments from the SW's point of view (falken@ might be busy due ...
5 years, 7 months ago (2015-05-13 01:09:38 UTC) #20
Marijn Kruisselbrink
https://codereview.chromium.org/1008533005/diff/180001/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl File Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl (right): https://codereview.chromium.org/1008533005/diff/180001/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl#newcode42 Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl:42: [RuntimeEnabled=NavigatorConnect] readonly attribute StashedPortCollection ports; On 2015/05/13 01:09:37, nhiroki ...
5 years, 7 months ago (2015-05-13 01:46:53 UTC) #21
kinuko
https://codereview.chromium.org/1008533005/diff/180001/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl File Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl (right): https://codereview.chromium.org/1008533005/diff/180001/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl#newcode42 Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl:42: [RuntimeEnabled=NavigatorConnect] readonly attribute StashedPortCollection ports; On 2015/05/13 01:46:53, Marijn ...
5 years, 7 months ago (2015-05-13 04:30:44 UTC) #23
nhiroki
Thank you for your replies. I understand the ground of this change and I'm OK ...
5 years, 7 months ago (2015-05-13 07:12:50 UTC) #24
Marijn Kruisselbrink
On 2015/05/13 07:12:50, nhiroki wrote: > On 2015/05/13 04:30:44, kinuko wrote: > > On 2015/05/13 ...
5 years, 7 months ago (2015-05-15 04:55:40 UTC) #25
Marijn Kruisselbrink
+jochen for Source/core, Source/modules and public/web OWNERS
5 years, 7 months ago (2015-05-15 04:59:12 UTC) #27
jochen (gone - plz use gerrit)
some initial comments https://codereview.chromium.org/1008533005/diff/220001/Source/modules/serviceworkers/StashedMessagePort.h File Source/modules/serviceworkers/StashedMessagePort.h (right): https://codereview.chromium.org/1008533005/diff/220001/Source/modules/serviceworkers/StashedMessagePort.h#newcode15 Source/modules/serviceworkers/StashedMessagePort.h:15: using StashedMessagePortArray = WillBeHeapVector<RefPtrWillBeMember<StashedMessagePort>, 1>; aren't ...
5 years, 7 months ago (2015-05-15 15:25:03 UTC) #28
Marijn Kruisselbrink
https://codereview.chromium.org/1008533005/diff/220001/Source/modules/serviceworkers/StashedMessagePort.h File Source/modules/serviceworkers/StashedMessagePort.h (right): https://codereview.chromium.org/1008533005/diff/220001/Source/modules/serviceworkers/StashedMessagePort.h#newcode15 Source/modules/serviceworkers/StashedMessagePort.h:15: using StashedMessagePortArray = WillBeHeapVector<RefPtrWillBeMember<StashedMessagePort>, 1>; On 2015/05/15 at 15:25:03, ...
5 years, 7 months ago (2015-05-18 18:29:35 UTC) #29
jochen (gone - plz use gerrit)
hum, so basically, messages over a message port can randomly disappear then, right? eg. when ...
5 years, 7 months ago (2015-05-19 11:10:59 UTC) #30
Marijn Kruisselbrink
On 2015/05/19 at 11:10:59, jochen wrote: > hum, so basically, messages over a message port ...
5 years, 7 months ago (2015-05-19 16:36:02 UTC) #31
jochen (gone - plz use gerrit)
mhm lgtm
5 years, 7 months ago (2015-05-19 16:40:25 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1008533005/260001
5 years, 7 months ago (2015-05-19 17:40:18 UTC) #35
commit-bot: I haz the power
5 years, 7 months ago (2015-05-19 17:45:19 UTC) #36
Message was sent while issue was closed.
Committed patchset #6 (id:260001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195535

Powered by Google App Engine
This is Rietveld 408576698