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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network-data-length.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/inspector-protocol-test.js"></script> 4 <script src="../inspector-protocol/resources/inspector-protocol-test.js"></scrip t>
5 <script> 5 <script>
6 function test() 6 function test()
7 { 7 {
8 // When chunk encoded the last chunk will always be 5 bytes "0\r\n\r\n" and 8 // When chunk encoded the last chunk will always be 5 bytes "0\r\n\r\n" and
9 // we do not receive a dataReceived event and instead it's in loadingFinishe d event. 9 // we do not receive a dataReceived event and instead it's in loadingFinishe d event.
10 const HTTP_CLOSING_CHUNK_SIZE = 5; 10 const HTTP_CLOSING_CHUNK_SIZE = 5;
11 11
12 12
13 InspectorTest.eventHandler["Network.requestWillBeSent"] = onRequestWillBeSen t; 13 InspectorTest.eventHandler["Network.requestWillBeSent"] = onRequestWillBeSen t;
14 InspectorTest.eventHandler["Network.responseReceived"] = onResponseReceived; 14 InspectorTest.eventHandler["Network.responseReceived"] = onResponseReceived;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 } 127 }
128 } 128 }
129 129
130 enableNetwork(); 130 enableNetwork();
131 } 131 }
132 </script> 132 </script>
133 </head> 133 </head>
134 <body onload="runTest();"> 134 <body onload="runTest();">
135 <p>Ensures that data and header length sent from protocol is proper sizes</p> 135 <p>Ensures that data and header length sent from protocol is proper sizes</p>
136 </body> 136 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698