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

Issue 287363004: ServiceWorker: support Response.{status,statusText,headers} [blink] (2/3) (Closed)

Created:
6 years, 7 months ago by kinuko
Modified:
6 years, 6 months ago
CC:
blink-reviews, jsbell+serviceworker_chromium.org, arv+blink, jamesr, tzik, serviceworker-reviews, nhiroki, abarth-chromium, dglazkov+blink, blink-reviews-bindings_chromium.org, horo+watch_chromium.org, alecflett+watch_chromium.org
Visibility:
Public.

Description

ServiceWorker: support Response.{status,statusText,headers} [blink] (2/3) Multi-sided patch: 1/3: chromium-side, https://codereview.chromium.org/299003002/ 2/3: blink-side, THIS PATCH 3/3: chromium-side, cleanup & re-enable test (n/a yet) BUG=376733 TEST=http/tests/serviceworker/response.html TEST=http/tests/serviceworker/headermap.html

Patch Set 1 : #

Total comments: 41

Patch Set 2 : addressed comments #

Total comments: 3

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+457 lines, -59 lines) Patch
A LayoutTests/http/tests/serviceworker/headermap.html View 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/headermap-expected.txt View 1 1 chunk +3 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/headermap-worker.js View 1 1 chunk +86 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/response-worker.js View 1 1 chunk +22 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/response.html View 1 chunk +12 lines, -0 lines 0 comments Download
A + LayoutTests/http/tests/serviceworker/response-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/virtual/serviceworker/http/tests/serviceworker/headermap-expected.txt View 1 1 chunk +3 lines, -0 lines 0 comments Download
A LayoutTests/virtual/serviceworker/http/tests/serviceworker/response-expected.txt View 1 1 chunk +3 lines, -0 lines 0 comments Download
M Source/bindings/v8/Dictionary.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/v8/Dictionary.cpp View 2 chunks +11 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 chunks +5 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/HeaderMap.h View 1 1 chunk +45 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/HeaderMap.cpp View 1 1 chunk +82 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/HeaderMap.idl View 1 1 chunk +27 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/HeaderMapForEachCallback.h View 1 chunk +23 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/HeaderMapForEachCallback.idl View 1 chunk +8 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/Response.h View 1 2 chunks +7 lines, -14 lines 0 comments Download
M Source/modules/serviceworkers/Response.cpp View 1 1 chunk +8 lines, -11 lines 0 comments Download
M Source/modules/serviceworkers/Response.idl View 1 1 chunk +6 lines, -8 lines 0 comments Download
M Source/modules/serviceworkers/ResponseInit.h View 1 chunk +7 lines, -7 lines 0 comments Download
M Source/platform/exported/WebServiceWorkerResponse.cpp View 1 chunk +49 lines, -10 lines 0 comments Download
M public/platform/WebServiceWorkerResponse.h View 1 2 1 chunk +35 lines, -8 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
kinuko
Depends on chromium-side patch, but this one probably needs to be reviewed first. PTL
6 years, 7 months ago (2014-05-23 13:09:01 UTC) #1
jsbell
overall looking good https://codereview.chromium.org/287363004/diff/20001/LayoutTests/http/tests/serviceworker/headermap-expected.txt File LayoutTests/http/tests/serviceworker/headermap-expected.txt (right): https://codereview.chromium.org/287363004/diff/20001/LayoutTests/http/tests/serviceworker/headermap-expected.txt#newcode2 LayoutTests/http/tests/serviceworker/headermap-expected.txt:2: PASS HeaderMap in ServiceWorkerGlobalScope Should this ...
6 years, 7 months ago (2014-05-23 20:59:48 UTC) #2
falken
looking good https://codereview.chromium.org/287363004/diff/20001/LayoutTests/http/tests/serviceworker/resources/headermap-worker.js File LayoutTests/http/tests/serviceworker/resources/headermap-worker.js (right): https://codereview.chromium.org/287363004/diff/20001/LayoutTests/http/tests/serviceworker/resources/headermap-worker.js#newcode16 LayoutTests/http/tests/serviceworker/resources/headermap-worker.js:16: assert_equals(headers.size, 3, 'Response.headers.size should match'); Remove "Response."? ...
6 years, 7 months ago (2014-05-24 14:32:36 UTC) #3
kinuko
Thx, updated. https://codereview.chromium.org/287363004/diff/20001/LayoutTests/http/tests/serviceworker/headermap-expected.txt File LayoutTests/http/tests/serviceworker/headermap-expected.txt (right): https://codereview.chromium.org/287363004/diff/20001/LayoutTests/http/tests/serviceworker/headermap-expected.txt#newcode2 LayoutTests/http/tests/serviceworker/headermap-expected.txt:2: PASS HeaderMap in ServiceWorkerGlobalScope On 2014/05/23 20:59:49, ...
6 years, 7 months ago (2014-05-26 05:45:12 UTC) #4
kinuko
jochen@: could you do owner's review for changes in: Source/bindings/v8 Source/platform public/platform
6 years, 7 months ago (2014-05-26 05:52:19 UTC) #5
falken
Thanks, I think this lg to me but have a question. https://codereview.chromium.org/287363004/diff/80001/Source/platform/exported/WebServiceWorkerResponse.cpp File Source/platform/exported/WebServiceWorkerResponse.cpp (right): ...
6 years, 7 months ago (2014-05-26 09:06:58 UTC) #6
jochen (gone - plz use gerrit)
lgtm
6 years, 7 months ago (2014-05-26 09:38:08 UTC) #7
kinuko
https://codereview.chromium.org/287363004/diff/80001/Source/platform/exported/WebServiceWorkerResponse.cpp File Source/platform/exported/WebServiceWorkerResponse.cpp (right): https://codereview.chromium.org/287363004/diff/80001/Source/platform/exported/WebServiceWorkerResponse.cpp#newcode10 Source/platform/exported/WebServiceWorkerResponse.cpp:10: class WebServiceWorkerResponsePrivate : public RefCounted<WebServiceWorkerResponsePrivate> { On 2014/05/26 09:06:59, ...
6 years, 7 months ago (2014-05-26 13:51:35 UTC) #8
falken
lgtm https://codereview.chromium.org/287363004/diff/80001/Source/platform/exported/WebServiceWorkerResponse.cpp File Source/platform/exported/WebServiceWorkerResponse.cpp (right): https://codereview.chromium.org/287363004/diff/80001/Source/platform/exported/WebServiceWorkerResponse.cpp#newcode10 Source/platform/exported/WebServiceWorkerResponse.cpp:10: class WebServiceWorkerResponsePrivate : public RefCounted<WebServiceWorkerResponsePrivate> { On 2014/05/26 ...
6 years, 7 months ago (2014-05-26 14:59:30 UTC) #9
kinuko
(I'm landing this, jsbell: feel free to uncheck CQ and comments if you have any)
6 years, 7 months ago (2014-05-28 00:36:12 UTC) #10
kinuko
The CQ bit was checked by kinuko@chromium.org
6 years, 7 months ago (2014-05-28 00:36:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/287363004/80001
6 years, 7 months ago (2014-05-28 00:37:08 UTC) #12
jsbell
lgtm! (The only bit of code I'm not personally confident about is the callback definition, ...
6 years, 7 months ago (2014-05-28 01:29:34 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_compile_dbg on tryserver.blink ...
6 years, 7 months ago (2014-05-28 02:19:16 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-28 03:24:12 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/7485)
6 years, 7 months ago (2014-05-28 03:24:13 UTC) #16
kinuko
The CQ bit was checked by kinuko@chromium.org
6 years, 7 months ago (2014-05-28 05:50:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/287363004/100001
6 years, 7 months ago (2014-05-28 05:50:20 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-28 07:07:55 UTC) #19
commit-bot: I haz the power
Could not make sense out of svn commit message.
6 years, 7 months ago (2014-05-28 07:07:55 UTC) #20
falken
6 years, 6 months ago (2014-05-29 03:36:11 UTC) #21
Message was sent while issue was closed.
On 2014/05/28 07:07:55, I haz the power (commit-bot) wrote:
> Could not make sense out of svn commit message.

Strange error. It turns out the commit landed:
http://src.chromium.org/viewvc/blink?revision=174941&view=revision

(crbug.com/378626 filed)

Powered by Google App Engine
This is Rietveld 408576698