Title: [113315] trunk/Source/WebCore
Revision
113315
Author
[email protected]
Date
2012-04-05 05:22:25 -0700 (Thu, 05 Apr 2012)

Log Message

Web Inspector: add ability to copy resource URL from web inspector's resources page.
https://bugs.webkit.org/show_bug.cgi?id=83175

Reviewed by Yury Semikhatsky.

Added requested context menu item.

* inspector/front-end/ResourcesPanel.js:
(WebInspector.FrameResourceTreeElement.prototype._handleContextMenuEvent):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (113314 => 113315)


--- trunk/Source/WebCore/ChangeLog	2012-04-05 12:19:01 UTC (rev 113314)
+++ trunk/Source/WebCore/ChangeLog	2012-04-05 12:22:25 UTC (rev 113315)
@@ -1,3 +1,15 @@
+2012-04-05  Pavel Feldman  <[email protected]>
+
+        Web Inspector: add ability to copy resource URL from web inspector's resources page.
+        https://bugs.webkit.org/show_bug.cgi?id=83175
+
+        Reviewed by Yury Semikhatsky.
+
+        Added requested context menu item.
+
+        * inspector/front-end/ResourcesPanel.js:
+        (WebInspector.FrameResourceTreeElement.prototype._handleContextMenuEvent):
+
 2012-04-04  Andrey Kosyakov  <[email protected]>
 
         Web Inspector: display frame duration instead of time ruler in Timeline panel's frame mode

Modified: trunk/Source/WebCore/inspector/front-end/ResourcesPanel.js (113314 => 113315)


--- trunk/Source/WebCore/inspector/front-end/ResourcesPanel.js	2012-04-05 12:19:01 UTC (rev 113314)
+++ trunk/Source/WebCore/inspector/front-end/ResourcesPanel.js	2012-04-05 12:22:25 UTC (rev 113315)
@@ -1251,6 +1251,7 @@
     {
         var contextMenu = new WebInspector.ContextMenu();
         contextMenu.appendItem(WebInspector.openLinkExternallyLabel(), WebInspector.openResource.bind(WebInspector, this._resource.url, false));
+        contextMenu.appendItem(WebInspector.copyLinkAddressLabel(), InspectorFrontendHost.copyText.bind(InspectorFrontendHost, this._resource.url));
         this._appendOpenInNetworkPanelAction(contextMenu, event);
         WebInspector.populateResourceContextMenu(contextMenu, this._resource.url, null);
         this._appendSaveAsAction(contextMenu, event);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to