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

Unified Diff: Source/devtools/front_end/network/NetworkDataGridNode.js

Issue 1309033003: [DevTools] Show blocked requests in network log. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tyo Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/network/NetworkDataGridNode.js
diff --git a/Source/devtools/front_end/network/NetworkDataGridNode.js b/Source/devtools/front_end/network/NetworkDataGridNode.js
index 3be217a55b7d79b372c9a71c812445ef66c56512..d8ad7d13c2465650ad9d44614255ad07f3fa0492 100644
--- a/Source/devtools/front_end/network/NetworkDataGridNode.js
+++ b/Source/devtools/front_end/network/NetworkDataGridNode.js
@@ -260,7 +260,7 @@ WebInspector.NetworkDataGridNode.prototype = {
{
cell.classList.toggle("network-dim-cell", !this._isFailed() && (this._request.cached() || !this._request.statusCode));
- if (this._request.failed && !this._request.canceled) {
+ if (this._request.failed && !this._request.canceled && !this._request.blocked) {
var failText = WebInspector.UIString("(failed)");
if (this._request.localizedFailDescription) {
cell.createTextChild(failText);
@@ -278,6 +278,8 @@ WebInspector.NetworkDataGridNode.prototype = {
cell.setTextAndTitle(WebInspector.UIString("(data)"));
} else if (this._request.canceled) {
cell.setTextAndTitle(WebInspector.UIString("(canceled)"));
+ } else if (this._request.blocked) {
+ cell.setTextAndTitle(WebInspector.UIString("(blocked)"));
} else if (this._request.finished) {
cell.setTextAndTitle(WebInspector.UIString("Finished"));
} else {

Powered by Google App Engine
This is Rietveld 408576698