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 | 6 |
7 var scriptUrl = "timeline-network-resource.js"; | 7 var scriptUrl = "timeline-network-resource.js"; |
8 | 8 |
9 function performActions(callback) | 9 function performActions(callback) |
10 { | 10 { |
11 window.timelineNetworkResourceEvaluated = callback; | 11 window.timelineNetworkResourceEvaluated = callback; |
12 var script = document.createElement("script"); | 12 var script = document.createElement("script"); |
13 script.src = scriptUrl; | 13 script.src = scriptUrl; |
14 document.body.appendChild(script); | 14 document.body.appendChild(script); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 </script> | 81 </script> |
82 </head> | 82 </head> |
83 | 83 |
84 <body onload="runTest()"> | 84 <body onload="runTest()"> |
85 <p> | 85 <p> |
86 Tests the Timeline API instrumentation of a network resource load | 86 Tests the Timeline API instrumentation of a network resource load |
87 </p> | 87 </p> |
88 </body> | 88 </body> |
89 </html> | 89 </html> |
OLD | NEW |