| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 | 229 |
| 230 if (!request.finished) { | 230 if (!request.finished) { |
| 231 var cell = tableElement.createChild('tr').createChild('td', 'caution'); | 231 var cell = tableElement.createChild('tr').createChild('td', 'caution'); |
| 232 cell.colSpan = 3; | 232 cell.colSpan = 3; |
| 233 cell.createTextChild(Common.UIString('CAUTION: request is not finished yet
!')); | 233 cell.createTextChild(Common.UIString('CAUTION: request is not finished yet
!')); |
| 234 } | 234 } |
| 235 | 235 |
| 236 var footer = tableElement.createChild('tr', 'network-timing-footer'); | 236 var footer = tableElement.createChild('tr', 'network-timing-footer'); |
| 237 var note = footer.createChild('td'); | 237 var note = footer.createChild('td'); |
| 238 note.colSpan = 2; | 238 note.colSpan = 2; |
| 239 note.appendChild(UI.createDocumentationLink( | 239 note.appendChild( |
| 240 'profile/network-performance/resource-loading#view-network-timing-detail
s-for-a-specific-resource', | 240 UI.createDocumentationLink('network-performance/reference#timing', Commo
n.UIString('Explanation'))); |
| 241 Common.UIString('Explanation'))); | |
| 242 footer.createChild('td').createTextChild(Number.secondsToString(totalDuratio
n, true)); | 241 footer.createChild('td').createTextChild(Number.secondsToString(totalDuratio
n, true)); |
| 243 | 242 |
| 244 var serverTimings = request.serverTimings; | 243 var serverTimings = request.serverTimings; |
| 245 if (!serverTimings) | 244 if (!serverTimings) |
| 246 return tableElement; | 245 return tableElement; |
| 247 | 246 |
| 248 var lastTimingRightEdge = right === undefined ? 100 : right; | 247 var lastTimingRightEdge = right === undefined ? 100 : right; |
| 249 | 248 |
| 250 var breakElement = tableElement.createChild('tr', 'network-timing-table-head
er').createChild('td'); | 249 var breakElement = tableElement.createChild('tr', 'network-timing-table-head
er').createChild('td'); |
| 251 breakElement.colSpan = 3; | 250 breakElement.colSpan = 3; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 }; | 346 }; |
| 348 | 347 |
| 349 Network.RequestTimingView.ConnectionSetupRangeNames = new Set([ | 348 Network.RequestTimingView.ConnectionSetupRangeNames = new Set([ |
| 350 Network.RequestTimeRangeNames.Queueing, Network.RequestTimeRangeNames.Blocking
, | 349 Network.RequestTimeRangeNames.Queueing, Network.RequestTimeRangeNames.Blocking
, |
| 351 Network.RequestTimeRangeNames.Connecting, Network.RequestTimeRangeNames.DNS, N
etwork.RequestTimeRangeNames.Proxy, | 350 Network.RequestTimeRangeNames.Connecting, Network.RequestTimeRangeNames.DNS, N
etwork.RequestTimeRangeNames.Proxy, |
| 352 Network.RequestTimeRangeNames.SSL | 351 Network.RequestTimeRangeNames.SSL |
| 353 ]); | 352 ]); |
| 354 | 353 |
| 355 /** @typedef {{name: !Network.RequestTimeRangeNames, start: number, end: number}
} */ | 354 /** @typedef {{name: !Network.RequestTimeRangeNames, start: number, end: number}
} */ |
| 356 Network.RequestTimeRange; | 355 Network.RequestTimeRange; |
| OLD | NEW |