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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/IndexedDB/idbfactory_open9-expected.txt

Issue 1476863003: bindings: Ignores the last undefined arguments when counting the args. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed a review comment. Created 5 years, 1 month 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: third_party/WebKit/LayoutTests/imported/web-platform-tests/IndexedDB/idbfactory_open9-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/IndexedDB/idbfactory_open9-expected.txt b/third_party/WebKit/LayoutTests/imported/web-platform-tests/IndexedDB/idbfactory_open9-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1f40e0eaffbaeeb62a7aff24b4bd6d0f4d986ac
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/IndexedDB/idbfactory_open9-expected.txt
@@ -0,0 +1,22 @@
+This is a testharness.js-based test.
+PASS Calling open() with version argument -1 should throw TypeError.
+PASS Calling open() with version argument -0.5 should throw TypeError.
+PASS Calling open() with version argument 0 should throw TypeError.
+PASS Calling open() with version argument 0.5 should throw TypeError.
+PASS Calling open() with version argument 0.8 should throw TypeError.
+PASS Calling open() with version argument 9007199254740992 should throw TypeError.
+PASS Calling open() with version argument NaN should throw TypeError.
+PASS Calling open() with version argument Infinity should throw TypeError.
+PASS Calling open() with version argument -Infinity should throw TypeError.
+PASS Calling open() with version argument "foo" should throw TypeError.
+FAIL Calling open() with version argument undefined should throw TypeError. assert_throws: function "function () {
+ window.indexedDB.open('test', val);..." did not throw
+PASS Calling open() with version argument null should throw TypeError.
+PASS Calling open() with version argument false should throw TypeError.
+PASS Calling open() with version argument object should throw TypeError.
+PASS Calling open() with version argument object (second) should throw TypeError.
+PASS Calling open() with version argument object (third) should throw TypeError.
+PASS Calling open() with version argument 1.5 should not throw.
+PASS Calling open() with version argument 9007199254740991 should not throw.
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698