OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
5 <script> | 5 <script> |
6 description("Tests WebKitNamedFlowCollection interface") | 6 description("Tests WebKitNamedFlowCollection interface") |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 | 9 |
10 var region1 = document.createElement("div"); | 10 var region1 = document.createElement("div"); |
(...skipping 25 matching lines...) Expand all Loading... |
36 || (document.webkitGetNamedFlows()[0].name == 'flow2' && document.webkit
GetNamedFlows()[1].name == 'flow1')"); | 36 || (document.webkitGetNamedFlows()[0].name == 'flow2' && document.webkit
GetNamedFlows()[1].name == 'flow1')"); |
37 | 37 |
38 debug("Test WebKitNamedFlowCollection name getter"); | 38 debug("Test WebKitNamedFlowCollection name getter"); |
39 shouldBeEqualToString("document.webkitGetNamedFlows().flow1.name", "flow1"); | 39 shouldBeEqualToString("document.webkitGetNamedFlows().flow1.name", "flow1"); |
40 shouldBeEqualToString("document.webkitGetNamedFlows().flow2.name", "flow2"); | 40 shouldBeEqualToString("document.webkitGetNamedFlows().flow2.name", "flow2"); |
41 shouldBeUndefined("document.webkitGetNamedFlows().undefinedNamedProperty"); | 41 shouldBeUndefined("document.webkitGetNamedFlows().undefinedNamedProperty"); |
42 | 42 |
43 document.body.removeChild(region1); | 43 document.body.removeChild(region1); |
44 document.body.removeChild(region2); | 44 document.body.removeChild(region2); |
45 </script> | 45 </script> |
46 <script src="../../fast/js/resources/js-test-post.js"></script> | |
47 </body> | 46 </body> |
48 </html> | 47 </html> |
OLD | NEW |