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

Side by Side Diff: LayoutTests/http/tests/serviceworker/cache-put-expected.txt

Issue 425413002: [ServiceWorker] Tests for Cache (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 This is a testharness.js-based test.
2 PASS Service Worker: Cache.put
3 FAIL Cache.put with a valid request Method is not implemented.
4 FAIL Cache.put with an existing request Entry was not found.
5 FAIL Cache.put with a request string Method is not implemented.
6 FAIL Cache.put with a request string Method is not implemented.
7 FAIL Cache.put with a relative URL Method is not implemented.
8 FAIL Cache.put with a non-GET request assert_throws: Cache.put should throw a Ty peError for non-GET requests. function "function () { throw e; }" threw object " NotSupportedError: Method is not implemented." ("NotSupportedError") expected ob ject "TypeError" ("TypeError")
9 FAIL Cache.put with an empty response assert_throws: Cache.put should throw a Ty peError for an empty response. function "function () { throw e; }" threw object "NotFoundError: Entry was not found." ("NotFoundError") expected object "TypeErr or" ("TypeError")
10 Harness: the test ran to completion.
11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698