Web Inspector: Styles: missing contextmenu items for links
[WebKit-https.git] / Source / WebInspectorUI / ChangeLog
index e3dad33..f01c2de 100644 (file)
@@ -1,3 +1,22 @@
+2018-10-31  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: Styles: missing contextmenu items for links
+        https://bugs.webkit.org/show_bug.cgi?id=191021
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/SpreadsheetStyleProperty.js:
+        (WI.SpreadsheetStyleProperty.prototype._renderValue):
+        (WI.SpreadsheetStyleProperty.prototype._handleLinkContextMenu): Added.
+        If the token is subtype of "link", add contextmenu items to the wrapper element.
+
+        * UserInterface/Views/ContextMenuUtilities.js:
+        (WI.appendContextMenuItemsForURL.showResourceWithOptions):
+        (WI.appendContextMenuItemsForURL):
+        Drive-by: don't assume that `options` will be provided.
+
+        * Localizations/en.lproj/localizedStrings.js:
+
 2018-10-31  Nikita Vasilyev  <nvasilyev@apple.com>
 
         Web Inspector: Styles: implement copying and deletion of multiple properties