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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/cache-add-expected.txt

Issue 2204573002: Cache API should reject 206 Partial Responses (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Give addAll a working resource, to show the whole shebang fails Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS Cache.add and Cache.addAll 2 PASS Cache.add and Cache.addAll
3 PASS Cache.add called with no arguments 3 PASS Cache.add called with no arguments
4 PASS Cache.add called with relative URL specified as a string 4 PASS Cache.add called with relative URL specified as a string
5 PASS Cache.add called with non-HTTP/HTTPS URL 5 PASS Cache.add called with non-HTTP/HTTPS URL
6 PASS Cache.add called with Request object 6 PASS Cache.add called with Request object
7 PASS Cache.add called with POST request 7 PASS Cache.add called with POST request
8 PASS Cache.add called twice with the same Request object 8 PASS Cache.add called twice with the same Request object
9 PASS Cache.add called with Request object with a used body 9 PASS Cache.add called with Request object with a used body
10 PASS Cache.add with request that results in a status of 404 10 PASS Cache.add with request that results in a status of 404
11 PASS Cache.add with request that results in a status of 500 11 PASS Cache.add with request that results in a status of 500
12 PASS Cache.add with request that results in a status of 206
13 PASS Cache.addAll with request that results in a status of 206
12 PASS Cache.addAll with no arguments 14 PASS Cache.addAll with no arguments
13 PASS Cache.addAll with a mix of valid and undefined arguments 15 PASS Cache.addAll with a mix of valid and undefined arguments
14 PASS Cache.addAll with an empty array 16 PASS Cache.addAll with an empty array
15 PASS Cache.addAll with string URL arguments 17 PASS Cache.addAll with string URL arguments
16 PASS Cache.addAll with Request arguments 18 PASS Cache.addAll with Request arguments
17 PASS Cache.addAll with a mix of succeeding and failing requests 19 PASS Cache.addAll with a mix of succeeding and failing requests
18 FAIL Cache.addAll called with the same Request object specified twice assert_unr eached: Should have rejected: Cache.addAll should throw InvalidStateError if the same request is added twice. Reached unreachable code 20 FAIL Cache.addAll called with the same Request object specified twice assert_unr eached: Should have rejected: Cache.addAll should throw InvalidStateError if the same request is added twice. Reached unreachable code
19 Harness: the test ran to completion. 21 Harness: the test ran to completion.
20 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698