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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/cachestorage/window/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 called with no arguments 2 PASS Cache.add called with no arguments
3 PASS Cache.add called with relative URL specified as a string 3 PASS Cache.add called with relative URL specified as a string
4 PASS Cache.add called with non-HTTP/HTTPS URL 4 PASS Cache.add called with non-HTTP/HTTPS URL
5 PASS Cache.add called with Request object 5 PASS Cache.add called with Request object
6 PASS Cache.add called with POST request 6 PASS Cache.add called with POST request
7 PASS Cache.add called twice with the same Request object 7 PASS Cache.add called twice with the same Request object
8 PASS Cache.add called with Request object with a used body 8 PASS Cache.add called with Request object with a used body
9 PASS Cache.add with request that results in a status of 404 9 PASS Cache.add with request that results in a status of 404
10 PASS Cache.add with request that results in a status of 500 10 PASS Cache.add with request that results in a status of 500
11 PASS Cache.add with request that results in a status of 206
12 PASS Cache.addAll with request that results in a status of 206
11 PASS Cache.addAll with no arguments 13 PASS Cache.addAll with no arguments
12 PASS Cache.addAll with a mix of valid and undefined arguments 14 PASS Cache.addAll with a mix of valid and undefined arguments
13 PASS Cache.addAll with an empty array 15 PASS Cache.addAll with an empty array
14 PASS Cache.addAll with string URL arguments 16 PASS Cache.addAll with string URL arguments
15 PASS Cache.addAll with Request arguments 17 PASS Cache.addAll with Request arguments
16 PASS Cache.addAll with a mix of succeeding and failing requests 18 PASS Cache.addAll with a mix of succeeding and failing requests
17 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 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
18 Harness: the test ran to completion. 20 Harness: the test ran to completion.
19 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698