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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 // This goes before everything else to keep console message line number invarian t. 1 // This goes before everything else to keep console message line number invarian t.
2 var lastXHRIndex = 0; 2 var lastXHRIndex = 0;
3 function xhrLoadedCallback() 3 function xhrLoadedCallback()
4 { 4 {
5 // We need to make sure the console message text is unique so that we don't end up with repeat count update only. 5 // We need to make sure the console message text is unique so that we don't end up with repeat count update only
Bugs Nash 2016/05/03 05:48:46 Is this intentional?
nainar 2016/05/03 07:15:43 No it's an accident. Removing.
6 console.log("XHR loaded: " + (++lastXHRIndex)); 6 console.log("XHR loaded: " + (++lastXHRIndex));
7 } 7 }
8 8
9 function makeSimpleXHR(method, url, async, callback) 9 function makeSimpleXHR(method, url, async, callback)
10 { 10 {
11 makeSimpleXHRWithPayload(method, url, async, null, callback); 11 makeSimpleXHRWithPayload(method, url, async, null, callback);
12 } 12 }
13 13
14 function makeSimpleXHRWithPayload(method, url, async, payload, callback) 14 function makeSimpleXHRWithPayload(method, url, async, payload, callback)
15 { 15 {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 version: "formatAsTypeName", 136 version: "formatAsTypeName",
137 wait: "formatAsTypeName", 137 wait: "formatAsTypeName",
138 _transferSize: "formatAsTypeName", 138 _transferSize: "formatAsTypeName",
139 _error: "skip" 139 _error: "skip"
140 }; 140 };
141 // addObject checks own properties only, so make a deep copy rather than use pro totype. 141 // addObject checks own properties only, so make a deep copy rather than use pro totype.
142 InspectorTest.HARPropertyFormattersWithSize = JSON.parse(JSON.stringify(Inspecto rTest.HARPropertyFormatters)); 142 InspectorTest.HARPropertyFormattersWithSize = JSON.parse(JSON.stringify(Inspecto rTest.HARPropertyFormatters));
143 InspectorTest.HARPropertyFormattersWithSize.size = "formatAsTypeName"; 143 InspectorTest.HARPropertyFormattersWithSize.size = "formatAsTypeName";
144 144
145 }; 145 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698