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

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

Issue 1315043008: [DevTools] Show blocked requests in Network panel. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 3 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
« no previous file with comments | « Source/core/loader/FrameFetchContext.cpp ('k') | Source/devtools/front_end/network/NetworkDataGridNode.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/network/BlockedURLsPane.js
diff --git a/Source/devtools/front_end/network/BlockedURLsPane.js b/Source/devtools/front_end/network/BlockedURLsPane.js
index 113918acde9093302d2c370b6cd05b98c5cf04b3..a7bf879abd39ed5ad8ba858b0c14ab8a28ab42c0 100644
--- a/Source/devtools/front_end/network/BlockedURLsPane.js
+++ b/Source/devtools/front_end/network/BlockedURLsPane.js
@@ -236,7 +236,7 @@ WebInspector.BlockedURLsPane.prototype = {
_onRequestFinished: function(event)
{
var request = /** @type {!WebInspector.NetworkRequest} */ (event.data);
- if (request.blocked) {
+ if (request.wasBlocked()) {
var count = this._blockedCountForUrl.get(request.url) || 0;
this._blockedCountForUrl.set(request.url, count + 1);
this._updateThrottler.schedule(this._update.bind(this));
« no previous file with comments | « Source/core/loader/FrameFetchContext.cpp ('k') | Source/devtools/front_end/network/NetworkDataGridNode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698