Web Inspector: Cannot copy a link address in Elements tab
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Jun 2018 21:49:50 +0000 (21:49 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Jun 2018 21:49:50 +0000 (21:49 +0000)
https://bugs.webkit.org/show_bug.cgi?id=186281
<rdar://problem/39193355>

Reviewed by Brian Burg.

* UserInterface/Views/ContextMenuUtilities.js:
(WI.appendContextMenuItemsForURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232481 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/ContextMenuUtilities.js

index f34e097..5bcb793 100644 (file)
@@ -1,3 +1,14 @@
+2018-06-04  Matt Baker  <mattbaker@apple.com>
+
+        Web Inspector: Cannot copy a link address in Elements tab
+        https://bugs.webkit.org/show_bug.cgi?id=186281
+        <rdar://problem/39193355>
+
+        Reviewed by Brian Burg.
+
+        * UserInterface/Views/ContextMenuUtilities.js:
+        (WI.appendContextMenuItemsForURL):
+
 2018-05-30  Daniel Bates  <dabates@apple.com>
 
         Web Inspector: Annotate Same-Site cookies
index 50760a2..cb9fc31 100644 (file)
@@ -120,7 +120,7 @@ WI.appendContextMenuItemsForURL = function(contextMenu, url, options)
     }
 
     contextMenu.appendItem(WI.UIString("Copy Link Address"), () => {
-        InspectorFrontendHost.copyText(sourceCode.url);
+        InspectorFrontendHost.copyText(url);
     });
 };