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

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

Issue 659573005: DevTools: NetworkPanel: show link where resource timing is explained. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 /* 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 createCommunicationTimingTable(); 164 createCommunicationTimingTable();
165 if (request.endTime !== -1) 165 if (request.endTime !== -1)
166 addRow(WebInspector.UIString("Content Download"), "receiving", (request. responseReceivedTime - timing.requestTime) * 1000, total); 166 addRow(WebInspector.UIString("Content Download"), "receiving", (request. responseReceivedTime - timing.requestTime) * 1000, total);
167 167
168 if (!request.finished) { 168 if (!request.finished) {
169 var cell = tableElement.createChild("tr").createChild("td", "caution"); 169 var cell = tableElement.createChild("tr").createChild("td", "caution");
170 cell.colSpan = 2; 170 cell.colSpan = 2;
171 cell.createTextChild(WebInspector.UIString("CAUTION: request is not fini shed yet!")); 171 cell.createTextChild(WebInspector.UIString("CAUTION: request is not fini shed yet!"));
172 } 172 }
173 173
174 var note = tableElement.createChild("tr").createChild("td", "footnote");
175 note.colSpan = 2;
176 note.appendChild(WebInspector.createDocumentationAnchor("network#resource-ne twork-timing", WebInspector.UIString("Explanation of resource timing")));
177
174 return tableElement; 178 return tableElement;
175 } 179 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/main/OverridesView.js ('k') | Source/devtools/front_end/network/networkPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698