OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="inspector-protocol-test.js"></script> | 4 <script src="resources/inspector-protocol-test.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function test() | 7 function test() |
8 { | 8 { |
9 let referrers = []; | 9 let referrers = []; |
10 | 10 |
11 InspectorTest.eventHandler["Network.requestWillBeSent"] = onRequestWillBeSen
t; | 11 InspectorTest.eventHandler["Network.requestWillBeSent"] = onRequestWillBeSen
t; |
12 enableNetwork(); | 12 enableNetwork(); |
13 | 13 |
14 function enableNetwork() | 14 function enableNetwork() |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 InspectorTest.completeTest(); | 51 InspectorTest.completeTest(); |
52 } | 52 } |
53 } | 53 } |
54 } | 54 } |
55 </script> | 55 </script> |
56 </head> | 56 </head> |
57 <body onload="runTest()"> | 57 <body onload="runTest()"> |
58 <p>Tests that the navigation referrer can be overridden.</p> | 58 <p>Tests that the navigation referrer can be overridden.</p> |
59 </body> | 59 </body> |
60 </html> | 60 </html> |
OLD | NEW |