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

Issue 2204573002: Cache API should reject 206 Partial Responses (Closed)

Created:
4 years, 4 months ago by jsbell
Modified:
4 years, 4 months ago
Reviewers:
jkarlin, cmumford
CC:
chromium-reviews, blink-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cache API should reject 206 Partial Responses Per spec issue[1], the cache API should reject partial responses, failing calls to put()/add()/addAll() that come back with an HTTP status code 206. [1] https://github.com/slightlyoff/ServiceWorker/issues/937 R=jkarlin@chromium.org,cmumford@chromium.org BUG=633338 Committed: https://crrev.com/7ca1d2fef66579fe8ebf3f7580da56c9f9cd3a48 Cr-Commit-Position: refs/heads/master@{#409314}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Give addAll a working resource, to show the whole shebang fails #

Messages

Total messages: 14 (7 generated)
jsbell
jkarlin@, cmumford@ - please take a look? (sorry for sniping the easy one!)
4 years, 4 months ago (2016-08-01 21:03:34 UTC) #3
cmumford
lgtm
4 years, 4 months ago (2016-08-02 13:26:12 UTC) #6
jkarlin
lgtm with comment https://codereview.chromium.org/2204573002/diff/1/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js File third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js (right): https://codereview.chromium.org/2204573002/diff/1/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js#newcode114 third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js:114: cache.addAll(['../resources/fetch-status.php?status=206']), Can you put two requests ...
4 years, 4 months ago (2016-08-02 13:47:51 UTC) #7
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/2204573002/20001
4 years, 4 months ago (2016-08-02 19:00:22 UTC) #10
jsbell
https://codereview.chromium.org/2204573002/diff/1/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js File third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js (right): https://codereview.chromium.org/2204573002/diff/1/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js#newcode114 third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js:114: cache.addAll(['../resources/fetch-status.php?status=206']), On 2016/08/02 13:47:51, jkarlin wrote: > Can you ...
4 years, 4 months ago (2016-08-02 19:54:10 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-02 20:45:17 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 20:49:17 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7ca1d2fef66579fe8ebf3f7580da56c9f9cd3a48
Cr-Commit-Position: refs/heads/master@{#409314}

Powered by Google App Engine
This is Rietveld 408576698