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 <script src="../xpath-test-pre.js"></script> | 4 <script src="../xpath-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <div id="console"></div> | 7 <div id="console"></div> |
8 | 8 |
9 <script> | 9 <script> |
10 function arraysAreEqual(array1, array2) { | 10 function arraysAreEqual(array1, array2) { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 resultNodes.push(n); | 111 resultNodes.push(n); |
112 } | 112 } |
113 } | 113 } |
114 if (arraysAreEqual(resultNodes, allNodesSet)) | 114 if (arraysAreEqual(resultNodes, allNodesSet)) |
115 testPassed(node.getAttribute("id")); | 115 testPassed(node.getAttribute("id")); |
116 else | 116 else |
117 testFailed(node.getAttribute("id")); | 117 testFailed(node.getAttribute("id")); |
118 } | 118 } |
119 | 119 |
120 </script> | 120 </script> |
121 <script src="../../js/resources/js-test-post.js"></script> | |
122 </body> | 121 </body> |
123 </html> | 122 </html> |
OLD | NEW |