| Index: Source/devtools/front_end/network/NetworkLogView.js
|
| diff --git a/Source/devtools/front_end/network/NetworkLogView.js b/Source/devtools/front_end/network/NetworkLogView.js
|
| index 78012245807aceaa3565fd8478c55a8eb22a4758..37baa0e8a1e8bcbc3f6fda5ba13dbced5541c3ae 100644
|
| --- a/Source/devtools/front_end/network/NetworkLogView.js
|
| +++ b/Source/devtools/front_end/network/NetworkLogView.js
|
| @@ -1289,6 +1289,15 @@ WebInspector.NetworkLogView.prototype = {
|
| } else {
|
| contextMenu.appendItem(WebInspector.UIString("Copy as cURL"), this._copyCurlCommand.bind(this, request, "unix"));
|
| }
|
| +
|
| + function toggleRequestURLBlocked()
|
| + {
|
| + WebInspector.multitargetNetworkManager.toggleURLBlocked(request.url);
|
| + }
|
| +
|
| + var blocked = WebInspector.multitargetNetworkManager.blockedURLs().has(request.url);
|
| + contextMenu.appendSeparator();
|
| + contextMenu.appendItem(blocked ? WebInspector.UIString.capitalize("Unblock ^request URL") : WebInspector.UIString.capitalize("Block ^request URL"), toggleRequestURLBlocked);
|
| }
|
| contextMenu.appendItem(WebInspector.UIString.capitalize("Copy ^all as HAR"), this._copyAll.bind(this));
|
|
|
|
|