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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/idbfactory_open9.htm

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>IDBFactory.open() - errors in version argument</title> 2 <title>IDBFactory.open() - errors in version argument</title>
3 <script src=../../../resources/testharness.js></script> 3 <script src=../../../resources/testharness.js></script>
4 <script src=../../../resources/testharnessreport.js></script> 4 <script src=../../../resources/testharnessreport.js></script>
5 5
6 <script> 6 <script>
7 function should_throw(val, name) { 7 function should_throw(val, name) {
8 if (!name) { 8 if (!name) {
9 name = ((typeof val == "object" && val) ? "object" : format_value(val)) 9 name = ((typeof val == "object" && val) ? "object" : format_value(val))
10 } 10 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 }, "Calling open() with version argument " + name + " should not throw.") 62 }, "Calling open() with version argument " + name + " should not throw.")
63 } 63 }
64 64
65 should_work(1.5, 1) 65 should_work(1.5, 1)
66 should_work(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER) // 0x200000000000 00 - 1 66 should_work(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER) // 0x200000000000 00 - 1
67 should_work(undefined, 1) 67 should_work(undefined, 1)
68 68
69 </script> 69 </script>
70 70
71 <div id=log></div> 71 <div id=log></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698