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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/resource-har-headers.html

Issue 2758673002: [DevTools] Extract NetworkLog and HAREntry to a separate network_log module (Closed)
Patch Set: rebased Created 3 years, 9 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-test.js"></script> 4 <script src="inspector-test.js"></script>
5 <script src="resources-test.js"></script> 5 <script src="resources-test.js"></script>
6 <script src="network-test.js"></script> 6 <script src="network-test.js"></script>
7 7
8 <script> 8 <script>
9 var test = function() 9 var test = function()
10 { 10 {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 }; 53 };
54 InspectorTest.addObject(requestResults, {}, "", "Resource:"); 54 InspectorTest.addObject(requestResults, {}, "", "Resource:");
55 55
56 var stillNondeterministic = { 56 var stillNondeterministic = {
57 "startedDateTime": "formatAsTypeName", 57 "startedDateTime": "formatAsTypeName",
58 "time": "formatAsTypeName", 58 "time": "formatAsTypeName",
59 "timings": "formatAsTypeName", 59 "timings": "formatAsTypeName",
60 "_transferSize": "formatAsTypeName", 60 "_transferSize": "formatAsTypeName",
61 "_error": "skip" 61 "_error": "skip"
62 }; 62 };
63 InspectorTest.addObject(new SDK.HAREntry(testRequest).build(), stillNondeter ministic, "", "HAR:"); 63 InspectorTest.addObject(new NetworkLog.HAREntry(testRequest).build(), stillN ondeterministic, "", "HAR:");
64 InspectorTest.completeTest(); 64 InspectorTest.completeTest();
65 } 65 }
66 </script> 66 </script>
67 67
68 68
69 </head> 69 </head>
70 70
71 <body onload="runTest()"> 71 <body onload="runTest()">
72 <p> 72 <p>
73 Tests the nondeterministic bits of HAR conversion via the magic of hard-coded va lues. 73 Tests the nondeterministic bits of HAR conversion via the magic of hard-coded va lues.
74 </p> 74 </p>
75 75
76 </body> 76 </body>
77 </html> 77 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698