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

Issue 1209493002: Service Worker: Surface Client.id attribute. (Closed)

Created:
5 years, 6 months ago by jungkees
Modified:
5 years, 6 months ago
CC:
blink-reviews, michaeln, jsbell, tzik, serviceworker-reviews, nhiroki, dglazkov+blink, kinuko+serviceworker, horo
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add a reference to RFC4122. #

Total comments: 9

Patch Set 3 : Address comments for tests #

Total comments: 2

Patch Set 4 : Update JS expression for truthiness. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -4 lines) Patch
A LayoutTests/http/tests/serviceworker/client-id.html View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/clients-matchall.html View 3 chunks +9 lines, -4 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/client-id-worker.js View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/Client.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerClient.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
jungkees
This CL exposes service worker client's id to script surface. PTAL
5 years, 6 months ago (2015-06-24 07:19:57 UTC) #2
lgombos
peer review looks good to me https://codereview.chromium.org/1209493002/diff/1/LayoutTests/http/tests/serviceworker/client-id.html File LayoutTests/http/tests/serviceworker/client-id.html (right): https://codereview.chromium.org/1209493002/diff/1/LayoutTests/http/tests/serviceworker/client-id.html#newcode33 LayoutTests/http/tests/serviceworker/client-id.html:33: var pattern = ...
5 years, 6 months ago (2015-06-25 01:04:22 UTC) #3
lgombos
https://codereview.chromium.org/1209493002/diff/1/LayoutTests/http/tests/serviceworker/client-id.html File LayoutTests/http/tests/serviceworker/client-id.html (right): https://codereview.chromium.org/1209493002/diff/1/LayoutTests/http/tests/serviceworker/client-id.html#newcode33 LayoutTests/http/tests/serviceworker/client-id.html:33: var pattern = new RegExp (['^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0', On 2015/06/25 01:04:21, ...
5 years, 6 months ago (2015-06-25 01:10:35 UTC) #4
jungkees
Thanks for peer review! https://codereview.chromium.org/1209493002/diff/1/LayoutTests/http/tests/serviceworker/client-id.html File LayoutTests/http/tests/serviceworker/client-id.html (right): https://codereview.chromium.org/1209493002/diff/1/LayoutTests/http/tests/serviceworker/client-id.html#newcode33 LayoutTests/http/tests/serviceworker/client-id.html:33: var pattern = new RegExp ...
5 years, 6 months ago (2015-06-25 01:51:36 UTC) #5
jungkees
PTAL Also could you guide me whether it needs intent to ship or some other ...
5 years, 6 months ago (2015-06-25 01:55:26 UTC) #7
kinuko
Looking good to me, I defer the decision if we need intent-to-ship for this to ...
5 years, 6 months ago (2015-06-25 02:23:04 UTC) #8
jungkees
Addressed the comment. Thanks for review.
5 years, 6 months ago (2015-06-25 02:55:45 UTC) #9
falken
Since I don't think this has any risk of compat issues, I consider this a ...
5 years, 6 months ago (2015-06-25 04:09:57 UTC) #10
jungkees
Uploaded a new snapshot having addressed the comments. PTAL https://codereview.chromium.org/1209493002/diff/20001/LayoutTests/http/tests/serviceworker/client-id.html File LayoutTests/http/tests/serviceworker/client-id.html (right): https://codereview.chromium.org/1209493002/diff/20001/LayoutTests/http/tests/serviceworker/client-id.html#newcode8 LayoutTests/http/tests/serviceworker/client-id.html:8: ...
5 years, 6 months ago (2015-06-25 07:48:37 UTC) #11
falken
lgtm can you change the BUG= line to point to 504222 https://codereview.chromium.org/1209493002/diff/40001/LayoutTests/http/tests/serviceworker/client-id.html File LayoutTests/http/tests/serviceworker/client-id.html (right): ...
5 years, 6 months ago (2015-06-26 02:21:51 UTC) #12
jungkees
Addressed the comment. Thanks. https://codereview.chromium.org/1209493002/diff/40001/LayoutTests/http/tests/serviceworker/client-id.html File LayoutTests/http/tests/serviceworker/client-id.html (right): https://codereview.chromium.org/1209493002/diff/40001/LayoutTests/http/tests/serviceworker/client-id.html#newcode40 LayoutTests/http/tests/serviceworker/client-id.html:40: return id.match(pattern) ? true : ...
5 years, 6 months ago (2015-06-26 02:43:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209493002/60001
5 years, 6 months ago (2015-06-26 02:43:56 UTC) #16
commit-bot: I haz the power
5 years, 6 months ago (2015-06-26 03:41:02 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197884

Powered by Google App Engine
This is Rietveld 408576698