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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/serviceworker/cache-put-expected.txt
diff --git a/LayoutTests/http/tests/serviceworker/cache-put-expected.txt b/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59b51ff8be0e40ebaf41f7d5c0a840e66fb23542
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
@@ -0,0 +1,11 @@
+This is a testharness.js-based test.
+PASS Service Worker: Cache.put
+FAIL Cache.put with a valid request Method is not implemented.
+FAIL Cache.put with an existing request Entry was not found.
+FAIL Cache.put with a request string Method is not implemented.
+FAIL Cache.put with a request string Method is not implemented.
+FAIL Cache.put with a relative URL Method is not implemented.
+FAIL Cache.put with a non-GET request assert_throws: Cache.put should throw a TypeError for non-GET requests. function "function () { throw e; }" threw object "NotSupportedError: Method is not implemented." ("NotSupportedError") expected object "TypeError" ("TypeError")
+FAIL Cache.put with an empty response assert_throws: Cache.put should throw a TypeError for an empty response. function "function () { throw e; }" threw object "NotFoundError: Entry was not found." ("NotFoundError") expected object "TypeError" ("TypeError")
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698