OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
4 <script src="../../http/tests/inspector/timeline-test.js"></script> | 4 <script src="../../../http/tests/inspector/timeline-test.js"></script> |
5 <script> | 5 <script> |
6 function test() | 6 function test() |
7 { | 7 { |
8 function checkStringContains(string, contains) | 8 function checkStringContains(string, contains) |
9 { | 9 { |
10 var doesContain = string.indexOf(contains) >= 0; | 10 var doesContain = string.indexOf(contains) >= 0; |
11 InspectorTest.check(doesContain, contains + " should be present in " + s
tring); | 11 InspectorTest.check(doesContain, contains + " should be present in " + s
tring); |
12 InspectorTest.addResult("PASS - record contained " + contains); | 12 InspectorTest.addResult("PASS - record contained " + contains); |
13 } | 13 } |
14 | 14 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 </script> | 126 </script> |
127 </head> | 127 </head> |
128 | 128 |
129 <body onload="runTest()"> | 129 <body onload="runTest()"> |
130 <p> | 130 <p> |
131 Test that causes are correctly generated for various types of events. | 131 Test that causes are correctly generated for various types of events. |
132 </p> | 132 </p> |
133 <div id="testElement"></div> | 133 <div id="testElement"></div> |
134 </body> | 134 </body> |
135 </html> | 135 </html> |
OLD | NEW |