| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
| 3 <title>Values</title> | 3 <title>Values</title> |
| 4 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> | 4 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> |
| 5 <script src="../../../resources/testharness.js"></script> | 5 <script src="/resources/testharness.js"></script> |
| 6 <script src="../../../resources/testharnessreport.js"></script> | 6 <script src="/resources/testharnessreport.js"></script> |
| 7 <script src="support.js"></script> | 7 <script src="support.js"></script> |
| 8 | 8 |
| 9 <script> | 9 <script> |
| 10 function value(value, _instanceof) { | 10 function value(value, _instanceof) { |
| 11 var t = async_test(document.title + " - " + _instanceof.name); | 11 var t = async_test(document.title + " - " + _instanceof.name); |
| 12 t.step(function() { | 12 t.step(function() { |
| 13 assert_true(value instanceof _instanceof, "TEST ERROR, instanceof"); | 13 assert_true(value instanceof _instanceof, "TEST ERROR, instanceof"); |
| 14 }); | 14 }); |
| 15 | 15 |
| 16 createdb(t).onupgradeneeded = function(e) { | 16 createdb(t).onupgradeneeded = function(e) { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 31 }); | 31 }); |
| 32 }; | 32 }; |
| 33 } | 33 } |
| 34 | 34 |
| 35 value(new Date(), Date); | 35 value(new Date(), Date); |
| 36 value(new Array(), Array); | 36 value(new Array(), Array); |
| 37 | 37 |
| 38 </script> | 38 </script> |
| 39 | 39 |
| 40 <div id="log"></div> | 40 <div id="log"></div> |
| OLD | NEW |