OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <title>Node assorted property tests</title> | 2 <title>Node assorted property tests</title> |
3 <link rel=author title="Aryeh Gregor" href=ayg@aryeh.name> | 3 <link rel=author title="Aryeh Gregor" href=ayg@aryeh.name> |
4 <meta charset=utf-8> | 4 <meta charset=utf-8> |
5 <div id=log></div> | 5 <div id=log></div> |
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=../common.js></script> | 8 <script src=../common.js></script> |
9 <script> | 9 <script> |
10 "use strict"; | 10 "use strict"; |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 // Finally, we test! | 679 // Finally, we test! |
680 for (var prop in expected[node]) { | 680 for (var prop in expected[node]) { |
681 test(function() { | 681 test(function() { |
682 assert_equals(eval(node + "." + prop), expected[node][prop]); | 682 assert_equals(eval(node + "." + prop), expected[node][prop]); |
683 }, node + "." + prop); | 683 }, node + "." + prop); |
684 } | 684 } |
685 } | 685 } |
686 | 686 |
687 testDiv.parentNode.removeChild(testDiv); | 687 testDiv.parentNode.removeChild(testDiv); |
688 </script> | 688 </script> |
OLD | NEW |