| OLD | NEW |
| 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. |
| 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 { |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 id: "formatAsTypeName", | 129 id: "formatAsTypeName", |
| 130 onContentLoad: "formatAsTypeName", | 130 onContentLoad: "formatAsTypeName", |
| 131 onLoad: "formatAsTypeName", | 131 onLoad: "formatAsTypeName", |
| 132 receive: "formatAsTypeName", | 132 receive: "formatAsTypeName", |
| 133 startedDateTime: "formatAsRecentTime", | 133 startedDateTime: "formatAsRecentTime", |
| 134 time: "formatAsTypeName", | 134 time: "formatAsTypeName", |
| 135 timings: "formatAsTypeName", | 135 timings: "formatAsTypeName", |
| 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 | |
| 142 // 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. |
| 143 InspectorTest.HARPropertyFormattersWithSize = JSON.parse(JSON.stringify(Inspecto
rTest.HARPropertyFormatters)); | 142 InspectorTest.HARPropertyFormattersWithSize = JSON.parse(JSON.stringify(Inspecto
rTest.HARPropertyFormatters)); |
| 144 InspectorTest.HARPropertyFormattersWithSize.size = "formatAsTypeName"; | 143 InspectorTest.HARPropertyFormattersWithSize.size = "formatAsTypeName"; |
| 145 | 144 |
| 146 }; | 145 }; |
| OLD | NEW |