Web Inspector: script select can be too wide. We should truncate script name in options text (tooltip still displays the whole url).
Created attachment 97245 [details] Patch.
Created attachment 97246 [details] Patch.
Comment on attachment 97246 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=97246&action=review > LayoutTests/inspector/debugger/scripts-panel-expected.txt:19 > +text: very_looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooon..., tooltip: very_looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong_url Is result the same on all platforms?
Comment on attachment 97246 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=97246&action=review > Source/WebCore/inspector/front-end/ScriptsPanel.js:304 > + WebInspector.log(displayName.length); Remove this line. > Source/WebCore/inspector/front-end/ScriptsPanel.js:306 > + displayName = displayName.substring(0, 100) + "..."; Ignore my previous comment about test expectations I thought you were truncating the display name based on the screen width which we probably should do instead of specifying 100 limit for all resolutions.
Created attachment 97259 [details] Patch.
(In reply to comment #4) > (From update of attachment 97246 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=97246&action=review > > > Source/WebCore/inspector/front-end/ScriptsPanel.js:304 > > + WebInspector.log(displayName.length); > > Remove this line. Done.
Committed r88916: <http://trac.webkit.org/changeset/88916>
Committed r88936: <http://trac.webkit.org/changeset/88936>