| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
| 3 <title>IDBFactory.cmp() - invalid key</title> | 3 <title>IDBFactory.cmp() - invalid key</title> |
| 4 <link rel="author" title="Intel" href="http://www.intel.com"> | 4 <link rel="author" title="Intel" href="http://www.intel.com"> |
| 5 <link rel="help" href="https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.ht
ml#widl-IDBFactory-cmp-short-any-first-any-second"> | 5 <link rel="help" href="https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.ht
ml#widl-IDBFactory-cmp-short-any-first-any-second"> |
| 6 <script src=../../../resources/testharness.js></script> | 6 <script src=/resources/testharness.js></script> |
| 7 <script src=../../../resources/testharnessreport.js></script> | 7 <script src=/resources/testharnessreport.js></script> |
| 8 <script src=support.js></script> | 8 <script src=support.js></script> |
| 9 <div id=log></div> | 9 <div id=log></div> |
| 10 <script> | 10 <script> |
| 11 test( function() { | 11 test( function() { |
| 12 assert_throws(new TypeError(), function() { | 12 assert_throws(new TypeError(), function() { |
| 13 indexedDB.cmp(); | 13 indexedDB.cmp(); |
| 14 }); | 14 }); |
| 15 }, "IDBFactory.cmp() - no argument"); | 15 }, "IDBFactory.cmp() - no argument"); |
| 16 | 16 |
| 17 test( function() { | 17 test( function() { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 32 }); | 32 }); |
| 33 assert_throws("DataError", function() { | 33 assert_throws("DataError", function() { |
| 34 indexedDB.cmp(1, NaN); | 34 indexedDB.cmp(1, NaN); |
| 35 }); | 35 }); |
| 36 assert_throws("DataError", function() { | 36 assert_throws("DataError", function() { |
| 37 indexedDB.cmp(NaN, 1); | 37 indexedDB.cmp(NaN, 1); |
| 38 }); | 38 }); |
| 39 }, "IDBFactory.cmp() - NaN"); | 39 }, "IDBFactory.cmp() - NaN"); |
| 40 </script> | 40 </script> |
| 41 | 41 |
| OLD | NEW |