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

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

Issue 2010163003: Fix paths of testharness*, WebIDLParser.js, idlharness.js, vendor-prefix.js for remaining files … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 }
11 test(function() { 11 test(function() {
12 assert_throws(new TypeError(), function() { 12 assert_throws(new TypeError(), function() {
13 window.indexedDB.open('test', val); 13 window.indexedDB.open('test', val);
14 }); 14 });
(...skipping 47 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