OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 | 6 |
7 <script> | 7 <script> |
8 description("Tests the prototype chain of interface objects"); | 8 description("Tests the prototype chain of interface objects"); |
9 | 9 |
10 shouldBe('Object.getPrototypeOf(HTMLBodyElement)', 'HTMLElement'); | 10 shouldBe('Object.getPrototypeOf(HTMLBodyElement)', 'HTMLElement'); |
11 shouldBe('Object.getPrototypeOf(HTMLElement)', 'Element'); | 11 shouldBe('Object.getPrototypeOf(HTMLElement)', 'Element'); |
12 shouldBe('Object.getPrototypeOf(Element)', 'Node'); | 12 shouldBe('Object.getPrototypeOf(Element)', 'Node'); |
13 shouldBe('Object.getPrototypeOf(Node)', 'EventTarget'); | 13 shouldBe('Object.getPrototypeOf(Node)', 'EventTarget'); |
14 shouldBe('Object.getPrototypeOf(EventTarget)', 'Function.prototype'); | 14 shouldBe('Object.getPrototypeOf(EventTarget)', 'Function.prototype'); |
15 | 15 |
16 </script> | 16 </script> |
17 <script src="../js/resources/js-test-post.js"></script> | |
18 </body> | 17 </body> |
19 </html> | 18 </html> |
OLD | NEW |