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

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

Issue 425413002: [ServiceWorker] Tests for Cache (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: CacheStorage.{create => open} 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.add and Cache.addAll
3 FAIL Cache.add with no arguments assert_throws: Cache.add should throw a TypeErr or when no arguments are given. function "function () { throw e; }" threw object "NotSupportedError: Cache is not implemented" ("NotSupportedError") expected ob ject "TypeError" ("TypeError")
4 FAIL Cache.add with successful request Cache is not implemented
5 FAIL Cache.add with resource that results in a status of 404 assert_throws: Cach e.add should throw TypeError if the resource does not exist. function "function () { throw e; }" threw object "NotSupportedError: Cache is not implemented" ("No tSupportedError") expected object "TypeError" ("TypeError")
6 PASS Cache.addAll with no arguments
7 FAIL Cache.addAll with ScalarValueString arguments Cache is not implemented
8 FAIL Cache.addAll with Request arguments Cache is not implemented
9 FAIL Cache.addAll with failing request assert_throws: Cache.addAll should throw TypeError if any of the requests fail. function "function () { throw e; }" threw object "NotSupportedError: Cache is not implemented" ("NotSupportedError") expe cted object "TypeError" ("TypeError")
10 Harness: the test ran to completion.
11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698