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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/ping-redirect.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="inspector-protocol-test.js"></script> 3 <script src="resources/inspector-protocol-test.js"></script>
4 <script> 4 <script>
5 function sendBeacon() 5 function sendBeacon()
6 { 6 {
7 navigator.sendBeacon("resources/ping-redirect.php", "foo"); 7 navigator.sendBeacon("resources/ping-redirect.php", "foo");
8 } 8 }
9 9
10 function test() 10 function test()
11 { 11 {
12 var requestSent = 0; 12 var requestSent = 0;
13 InspectorTest.eventHandler["Network.requestWillBeSent"] = onRequestWillBeSen t; 13 InspectorTest.eventHandler["Network.requestWillBeSent"] = onRequestWillBeSen t;
(...skipping 23 matching lines...) Expand all
37 } 37 }
38 } 38 }
39 } 39 }
40 </script> 40 </script>
41 </head> 41 </head>
42 <body onload="runTest()"> 42 <body onload="runTest()">
43 <p>Tests that redirect from navigator.sendBeacon() is recorded.</p> 43 <p>Tests that redirect from navigator.sendBeacon() is recorded.</p>
44 </body> 44 </body>
45 </html> 45 </html>
46 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698