| Index: third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js b/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js
|
| index 53a698c738ae51863fbcf72f9154c7a1954699f2..6533b07dbdb79de992a3d26946a259efb8861915 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js
|
| @@ -117,11 +117,12 @@ WebInspector.HandlerRegistry.prototype = {
|
| contextMenu.appendItem(WebInspector.UIString.capitalize("Open ^using %s", handler),
|
| this.dispatchToHandler.bind(this, handler, { url: contentProvider.contentURL() }));
|
| }
|
| - contextMenu.appendItem(WebInspector.copyLinkAddressLabel(), InspectorFrontendHost.copyText.bind(InspectorFrontendHost, contentProvider.contentURL()));
|
|
|
| - if (!contentProvider.contentURL())
|
| + if (!contentProvider.contentURL() || contentProvider instanceof WebInspector.NetworkRequest)
|
| return;
|
|
|
| + contextMenu.appendItem(WebInspector.copyLinkAddressLabel(), InspectorFrontendHost.copyText.bind(InspectorFrontendHost, contentProvider.contentURL()));
|
| +
|
| if (!contentProvider.contentType().isDocumentOrScriptOrStyleSheet())
|
| return;
|
|
|
|
|