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

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

Issue 675693002: An API returning a Promise should not throw an exceptions [overload version] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/serviceworker/cache-add-expected.txt
diff --git a/LayoutTests/http/tests/serviceworker/cache-add-expected.txt b/LayoutTests/http/tests/serviceworker/cache-add-expected.txt
index 9f493a3be6c808b656ce82b19d1aba2636f114ff..1bbe7ec7d2d987534d7b78fc72b80342ecf17a5c 100644
--- a/LayoutTests/http/tests/serviceworker/cache-add-expected.txt
+++ b/LayoutTests/http/tests/serviceworker/cache-add-expected.txt
@@ -1,8 +1,6 @@
This is a testharness.js-based test.
PASS Service Worker: Cache.add and Cache.addAll
-FAIL Cache.add called with no arguments Failed to execute 'add' on 'Cache': 1 argument required, but only 0 present.(stack: TypeError: Failed to execute 'add' on 'Cache': 1 argument required, but only 0 present.
- at TypeError (native)
- at http://127.0.0.1:8000/serviceworker/resources/cache-add-worker.js:6:13)
+PASS Cache.add called with no arguments
FAIL Cache.add called with relative URL specified as a string Cache is not implemented
FAIL Cache.add called with non-HTTP/HTTPS URL assert_throws: Cache.add should throw a NetworkError for non-HTTP/HTTPS URLs. function "function () { throw e; }" threw object "NotSupportedError: Cache is not implemented" that is not a DOMException NetworkError: property "code" is equal to 9, expected 19
FAIL Cache.add called with Request object Cache is not implemented
« no previous file with comments | « LayoutTests/fast/js/Promise-bindings-check-exception-expected.txt ('k') | Source/bindings/scripts/v8_interface.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698