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

Unified Diff: LayoutTests/fast/js/Promise-bindings-check-exception-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/fast/js/Promise-bindings-check-exception-expected.txt
diff --git a/LayoutTests/fast/js/Promise-bindings-check-exception-expected.txt b/LayoutTests/fast/js/Promise-bindings-check-exception-expected.txt
index dd3d28ddd3a0019bac9d560e7dbf16eaf6f777c8..ce977f44ad2dc77448ae6728685bdf352872e14a 100644
--- a/LayoutTests/fast/js/Promise-bindings-check-exception-expected.txt
+++ b/LayoutTests/fast/js/Promise-bindings-check-exception-expected.txt
@@ -36,6 +36,15 @@ Error: Thrown from toString
PASS Rejected as expected: range error(octet)
PASS reason instanceof Error is true
TypeError: Failed to execute 'promiseCheckRange' on 'Internals': Value is outside the 'octet' value range.
+PASS Resolved as expected: valid argument (Location)
+PASS Resolved as expected: valid argument (Document)
+PASS Resolved as expected: valid argument (Location, long, long)
+PASS Rejected as expected: type error (Object)
+PASS reason instanceof Error is true
+TypeError: Failed to execute 'promiseCheckOverload' on 'Internals': No function was found that matched the signature provided.
+PASS Rejected as expected: type error (Location, long)
+PASS reason instanceof Error is true
+TypeError: Failed to execute 'promiseCheckOverload' on 'Internals': Valid arities are: [1, 3], but 2 arguments provided.
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/js/Promise-bindings-check-exception.html ('k') | LayoutTests/http/tests/serviceworker/cache-add-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698