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

Issue 2845963002: [ServiceWorker] Add type attribute into Client object (Closed)

Created:
3 years, 8 months ago by leonhsl(Using Gerrit)
Modified:
3 years, 7 months ago
Reviewers:
shimazu, foolip
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, nhiroki, blink-reviews, kinuko+serviceworker, haraken, horo+watch_chromium.org, falken+watch_chromium.org, tzik, xiaofengzhang
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[ServiceWorker] Add type attribute for Client interface Specification: https://w3c.github.io/ServiceWorker/#client For Clients.{get,matchAll,openWindow}, currently the C++ impl has already been able to get the correct client type {"window","worker","sharedworker"} but does not export it to Js Client object. This CL adds this support and revises related layout tests. BUG=705685 TEST=blink_tests Review-Url: https://codereview.chromium.org/2845963002 Cr-Commit-Position: refs/heads/master@{#470480} Committed: https://chromium.googlesource.com/chromium/src/+/2ffd4b3b6bc3e571d2fee28955ba9bae10289a28

Patch Set 1 #

Patch Set 2 : layout tests #

Total comments: 2

Patch Set 3 : Address comments #

Patch Set 4 : Fix layout tests #

Total comments: 6

Patch Set 5 : Address comments from foolip@ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -10 lines) Patch
D third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/clients-matchall-exact-controller.https-expected.txt View 1 1 chunk +0 lines, -4 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/clients-matchall.https-expected.txt View 1 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/Client.idl View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.cpp View 1 2 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (39 generated)
leonhsl(Using Gerrit)
PTAL, Thanks! Although I've revised global-interface-listing-service-worker-expected.txt file, there're still 2 failures. I have no idea ...
3 years, 7 months ago (2017-04-28 03:51:46 UTC) #10
shimazu
Thanks, added a comment. On 2017/04/28 03:51:46, leonhsl wrote: > PTAL, Thanks! > > Although ...
3 years, 7 months ago (2017-05-01 06:40:35 UTC) #13
leonhsl(Using Gerrit)
Thanks a lot for review&hints! Uploaded ps#3, PTAnL. https://codereview.chromium.org/2845963002/diff/20001/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.cpp File third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.cpp (right): https://codereview.chromium.org/2845963002/diff/20001/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.cpp#newcode61 third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.cpp:61: case ...
3 years, 7 months ago (2017-05-02 03:14:36 UTC) #20
shimazu
lgtm:)
3 years, 7 months ago (2017-05-02 08:28:24 UTC) #27
leonhsl(Using Gerrit)
+foolip@ for OWNER approval of third_party/WebKit/LayoutTests/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt, Thanks!
3 years, 7 months ago (2017-05-02 09:02:48 UTC) #29
foolip
This CL LGTM % nits. This is a rather small addition, but can you send ...
3 years, 7 months ago (2017-05-03 15:18:10 UTC) #32
leonhsl(Using Gerrit)
Thanks a lot for review! I've sent out an Intent to Implement&Ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/cy-jDCgnlsk Uploaded ps#5 ...
3 years, 7 months ago (2017-05-04 03:18:05 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2845963002/80001
3 years, 7 months ago (2017-05-09 23:08:48 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; ...
3 years, 7 months ago (2017-05-10 01:12:43 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2845963002/80001
3 years, 7 months ago (2017-05-10 02:24:38 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; ...
3 years, 7 months ago (2017-05-10 04:26:56 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2845963002/80001
3 years, 7 months ago (2017-05-10 05:05:33 UTC) #49
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/2ffd4b3b6bc3e571d2fee28955ba9bae10289a28
3 years, 7 months ago (2017-05-10 05:35:52 UTC) #52
falken
On 2017/05/10 05:35:52, commit-bot: I haz the power wrote: > Committed patchset #5 (id:80001) as ...
3 years, 7 months ago (2017-05-10 06:05:57 UTC) #53
falken1
On 2017/05/10 06:05:57, falken wrote: > On 2017/05/10 05:35:52, commit-bot: I haz the power wrote: ...
3 years, 7 months ago (2017-05-10 06:11:19 UTC) #54
leonhsl(Using Gerrit)
On 2017/05/10 06:11:19, falken1 wrote: > On 2017/05/10 06:05:57, falken wrote: > > On 2017/05/10 ...
3 years, 7 months ago (2017-05-11 04:01:39 UTC) #55
falken
On 2017/05/11 04:01:39, leonhsl wrote: > On 2017/05/10 06:11:19, falken1 wrote: > > On 2017/05/10 ...
3 years, 7 months ago (2017-05-11 04:09:53 UTC) #56
leonhsl(Using Gerrit)
3 years, 7 months ago (2017-05-11 05:22:14 UTC) #57
Message was sent while issue was closed.
I see. Thanks a lot for the sharing and I'll start this work soon.

Powered by Google App Engine
This is Rietveld 408576698