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

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 Entry was not found.
4 FAIL Cache.put with an existing request Entry was not found.
5 PASS Cache.put with a request string
6 PASS Cache.put with a request string
7 FAIL Cache.put with a relative URL assert_equals: Cache.put should accept a rela tive URL as the request. :[object].url expected "" but got "http://127.0.0.1:800 0/serviceworker/resources/relative-url"
asanka 2014/10/15 23:43:49 Looks like https://github.com/slightlyoff/ServiceW
8 FAIL Cache.put with a non-GET request assert_promise_rejects: Cache.put should t hrow a TypeError for non-GET requests. Promise did not reject.
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
« no previous file with comments | « LayoutTests/http/tests/serviceworker/cache-put.html ('k') | LayoutTests/http/tests/serviceworker/interfaces-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698