OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../resources/js-test.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 <svg id="svg" xmlns="http://www.w3.org/2000/svg" width="200" height="200"> | 6 <svg id="svg" xmlns="http://www.w3.org/2000/svg" width="200" height="200"> |
7 <text id="text1" x="1 2 3">ABC</text> | 7 <text id="text1" x="1 2 3">ABC</text> |
8 <text id="text2" x="10 20">ABC</text> | 8 <text id="text2" x="10 20">ABC</text> |
9 </svg> | 9 </svg> |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 shouldBe("list1.numberOfItems", "4"); | 23 shouldBe("list1.numberOfItems", "4"); |
24 shouldBe("list1.getItem(0).value", "1"); | 24 shouldBe("list1.getItem(0).value", "1"); |
25 shouldBe("list1.getItem(1).value", "2"); | 25 shouldBe("list1.getItem(1).value", "2"); |
26 shouldBe("list1.getItem(2).value", "3"); | 26 shouldBe("list1.getItem(2).value", "3"); |
27 shouldBe("list1.getItem(3).value", "10"); | 27 shouldBe("list1.getItem(3).value", "10"); |
28 | 28 |
29 shouldBe("list2.numberOfItems", "0"); | 29 shouldBe("list2.numberOfItems", "0"); |
30 | 30 |
31 debug("The test passes if you only see 'PASS' messages, and test doesn't cra
sh"); | 31 debug("The test passes if you only see 'PASS' messages, and test doesn't cra
sh"); |
32 | 32 |
33 gc(); gc(); | 33 gc(); |
34 </script> | 34 </script> |
35 </body> | 35 </body> |
36 </html> | 36 </html> |
OLD | NEW |