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

Side by Side Diff: Source/devtools/front_end/network/RequestTimingView.js

Issue 830673004: DevTools: data urls break new network panel on windows. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 WebInspector.RequestTimingView.calculateRequestTimeRanges = function(request) 118 WebInspector.RequestTimingView.calculateRequestTimeRanges = function(request)
119 { 119 {
120 var result = []; 120 var result = [];
121 /** 121 /**
122 * @param {!WebInspector.RequestTimeRangeNames} name 122 * @param {!WebInspector.RequestTimeRangeNames} name
123 * @param {number} start 123 * @param {number} start
124 * @param {number} end 124 * @param {number} end
125 */ 125 */
126 function addRange(name, start, end) 126 function addRange(name, start, end)
127 { 127 {
128 if (start < end) 128 if (start <= end)
129 result.push({name: name, start: start, end: end}); 129 result.push({name: name, start: start, end: end});
130 } 130 }
131 131
132 /** 132 /**
133 * @param {!Array.<number>} numbers 133 * @param {!Array.<number>} numbers
134 * @return {number|undefined} 134 * @return {number|undefined}
135 */ 135 */
136 function firstPositive(numbers) 136 function firstPositive(numbers)
137 { 137 {
138 for (var i = 0; i < numbers.length; ++i) { 138 for (var i = 0; i < numbers.length; ++i) {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 cell.colSpan = 2; 239 cell.colSpan = 2;
240 cell.createTextChild(WebInspector.UIString("CAUTION: request is not fini shed yet!")); 240 cell.createTextChild(WebInspector.UIString("CAUTION: request is not fini shed yet!"));
241 } 241 }
242 242
243 var note = tableElement.createChild("tr").createChild("td", "footnote"); 243 var note = tableElement.createChild("tr").createChild("td", "footnote");
244 note.colSpan = 2; 244 note.colSpan = 2;
245 note.appendChild(WebInspector.createDocumentationAnchor("network#resource-ne twork-timing", WebInspector.UIString("Explanation of resource timing"))); 245 note.appendChild(WebInspector.createDocumentationAnchor("network#resource-ne twork-timing", WebInspector.UIString("Explanation of resource timing")));
246 246
247 return tableElement; 247 return tableElement;
248 } 248 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698