Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/override-referrer.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698