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

Issue 850413002: [ServiceWorker] Implement ServiceWorkerClients.openWindow(). (Closed)

Created:
5 years, 11 months ago by mlamouri (slow - plz ping)
Modified:
5 years, 10 months ago
CC:
blink-reviews, dglazkov+blink, falken, horo+watch_chromium.org, jsbell+serviceworker_chromium.org, jsbell, kinuko+serviceworker, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@sw_client_info_cb
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[ServiceWorker] Implement ServiceWorkerClients.openWindow(). This is allowing a service worker to open a window in some situations, like during a notificationclick event handling. BUG=437151 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189561

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : review comments and rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -1 line) Patch
M Source/modules/serviceworkers/Clients.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerClients.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerClients.cpp View 1 2 3 2 chunks +29 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeClientImpl.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M Source/web/ServiceWorkerGlobalScopeClientImpl.cpp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M public/web/WebServiceWorkerContextClient.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
mlamouri (slow - plz ping)
Consider this as WIP. It is still missing two things: - cleanup regarding the check ...
5 years, 11 months ago (2015-01-15 22:40:10 UTC) #2
mlamouri (slow - plz ping)
On 2015/01/15 at 22:40:10, Mounir Lamouri wrote: > Consider this as WIP. > > It ...
5 years, 11 months ago (2015-01-15 22:42:04 UTC) #3
Mike West
I think we should wait on this until the discussion in https://codereview.chromium.org/844313002/ converges on something.
5 years, 11 months ago (2015-01-16 11:43:25 UTC) #4
mlamouri (slow - plz ping)
Mike, the questions regarding opening a window from a SW have been resolved. I think ...
5 years, 10 months ago (2015-01-28 12:29:06 UTC) #5
Mike West
LGTM % questions. https://codereview.chromium.org/850413002/diff/40001/Source/modules/serviceworkers/ServiceWorkerClients.cpp File Source/modules/serviceworkers/ServiceWorkerClients.cpp (right): https://codereview.chromium.org/850413002/diff/40001/Source/modules/serviceworkers/ServiceWorkerClients.cpp#newcode91 Source/modules/serviceworkers/ServiceWorkerClients.cpp:91: resolver->reject(DOMException::create(SecurityError, "'" + parsedUrl.string() + "' ...
5 years, 10 months ago (2015-01-28 13:43:59 UTC) #6
michaeln
r/s lgtm 2
5 years, 10 months ago (2015-01-28 20:28:09 UTC) #7
Michael van Ouwerkerk
https://codereview.chromium.org/850413002/diff/40001/Source/modules/serviceworkers/ServiceWorkerWindowClient.h File Source/modules/serviceworkers/ServiceWorkerWindowClient.h (right): https://codereview.chromium.org/850413002/diff/40001/Source/modules/serviceworkers/ServiceWorkerWindowClient.h#newcode22 Source/modules/serviceworkers/ServiceWorkerWindowClient.h:22: typedef blink::WebServiceWorkerClientInfo WebType; nit: omit namespace https://codereview.chromium.org/850413002/diff/40001/public/web/WebServiceWorkerContextClient.h File public/web/WebServiceWorkerContextClient.h ...
5 years, 10 months ago (2015-01-30 14:56:28 UTC) #9
mlamouri (slow - plz ping)
https://codereview.chromium.org/850413002/diff/40001/Source/modules/serviceworkers/ServiceWorkerClients.cpp File Source/modules/serviceworkers/ServiceWorkerClients.cpp (right): https://codereview.chromium.org/850413002/diff/40001/Source/modules/serviceworkers/ServiceWorkerClients.cpp#newcode91 Source/modules/serviceworkers/ServiceWorkerClients.cpp:91: resolver->reject(DOMException::create(SecurityError, "'" + parsedUrl.string() + "' is cross origin. ...
5 years, 10 months ago (2015-02-02 16:09:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/850413002/80001
5 years, 10 months ago (2015-02-04 23:29:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/850413002/80001
5 years, 10 months ago (2015-02-05 15:15:08 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://src.chromium.org/viewvc/blink?view=rev&revision=189561
5 years, 10 months ago (2015-02-05 15:19:36 UTC) #16
philipj_slow
5 years, 10 months ago (2015-02-08 04:16:08 UTC) #17
Message was sent while issue was closed.
I had some comments about the error handling on blink-dev:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/sb4WHR4Wdbk/ePk7UzBA...

Powered by Google App Engine
This is Rietveld 408576698