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

Issue 546353003: ServiceWorker: Change worker script fetch error code(1/3). (Closed)

Created:
6 years, 3 months ago by xiang
Modified:
6 years, 3 months ago
Reviewers:
michaeln, tkent, nhiroki
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, jamesr, tzik, serviceworker-reviews, nhiroki, abarth-chromium, falken, dglazkov+blink, kinuko+serviceworker, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

ServiceWorker: Change worker script fetch error code. Change worker script fetch error code in "Update" algorithm to align with spec: Non 2xx response will be rejected with NetworkError; Redirected response will be rejected with SecurityError; Reponse with Wrong MIME type will be rejected with SecurityError. (1/3): this. (2/3): https://codereview.chromium.org/567903002/ (3/3): Layout test & Blink side cleanup BUG=408421 TEST=http/tests/serviceworker Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182381

Patch Set 1 #

Total comments: 6

Patch Set 2 : disable test #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerError.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M public/platform/WebServiceWorkerError.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
xiang
PTAL, thanks!
6 years, 3 months ago (2014-09-12 05:08:06 UTC) #2
nhiroki
https://codereview.chromium.org/546353003/diff/1/LayoutTests/http/tests/serviceworker/registration.html File LayoutTests/http/tests/serviceworker/registration.html (right): https://codereview.chromium.org/546353003/diff/1/LayoutTests/http/tests/serviceworker/registration.html#newcode111 LayoutTests/http/tests/serviceworker/registration.html:111: assert_equals(reason.name, 'AbortError', This 'AbortError' is ephemeral and will be ...
6 years, 3 months ago (2014-09-12 07:57:29 UTC) #3
xiang
Thanks, would you take a look again? https://codereview.chromium.org/546353003/diff/1/LayoutTests/http/tests/serviceworker/registration.html File LayoutTests/http/tests/serviceworker/registration.html (right): https://codereview.chromium.org/546353003/diff/1/LayoutTests/http/tests/serviceworker/registration.html#newcode111 LayoutTests/http/tests/serviceworker/registration.html:111: assert_equals(reason.name, 'AbortError', ...
6 years, 3 months ago (2014-09-16 05:47:41 UTC) #4
nhiroki
LGTM, thanks!
6 years, 3 months ago (2014-09-16 06:56:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/546353003/20001
6 years, 3 months ago (2014-09-22 01:18:57 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/58805)
6 years, 3 months ago (2014-09-22 01:21:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/546353003/40001
6 years, 3 months ago (2014-09-22 01:24:58 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/15671)
6 years, 3 months ago (2014-09-22 01:32:54 UTC) #13
xiang
tkent@ Could you please review public/platform/WebServiceWorkerError.h? Thanks!
6 years, 3 months ago (2014-09-22 01:39:29 UTC) #15
tkent
lgtm
6 years, 3 months ago (2014-09-22 02:14:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/546353003/40001
6 years, 3 months ago (2014-09-22 02:14:32 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-22 02:30:11 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 182381

Powered by Google App Engine
This is Rietveld 408576698