Web Inspector: Include a full URL tooltip when hovering the name in the Network Tab
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jul 2018 18:23:01 +0000 (18:23 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jul 2018 18:23:01 +0000 (18:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=188199

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2018-07-31
Reviewed by Matt Baker.

* UserInterface/Views/NetworkTableContentView.js:
(WI.NetworkTableContentView.prototype._populateNameCell):
Give a tooltip to the entire cell since the entire cell has interactivity.

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

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

index 68f0e36..6230233 100644 (file)
@@ -1,3 +1,14 @@
+2018-07-31  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Web Inspector: Include a full URL tooltip when hovering the name in the Network Tab
+        https://bugs.webkit.org/show_bug.cgi?id=188199
+
+        Reviewed by Matt Baker.
+
+        * UserInterface/Views/NetworkTableContentView.js:
+        (WI.NetworkTableContentView.prototype._populateNameCell):
+        Give a tooltip to the entire cell since the entire cell has interactivity.
+
 2018-07-30  Nikita Vasilyev  <nvasilyev@apple.com>
 
         Web Inspector: Dark Mode: Search sidebar panel text field has a white background
index cfb4460..0c9fb02 100644 (file)
@@ -441,6 +441,8 @@ WI.NetworkTableContentView = class NetworkTableContentView extends WI.ContentVie
 
         let nameElement = cell.appendChild(document.createElement("span"));
         nameElement.textContent = entry.name;
+
+        cell.title = entry.resource.url;
     }
 
     _populateDomainCell(cell, entry)