RESOLVED FIXED 170738
Web Inspector: remove dead code for switching Toolbar display options
https://bugs.webkit.org/show_bug.cgi?id=170738
Summary Web Inspector: remove dead code for switching Toolbar display options
Blaze Burg
Reported 2017-04-11 10:47:59 PDT
We don't allow switching between icons and text any more. We can remove this code.
Attachments
Patch (7.65 KB, patch)
2017-04-11 10:55 PDT, Blaze Burg
no flags
Patch (22.58 KB, patch)
2017-04-11 14:46 PDT, Blaze Burg
no flags
Archive of layout-test-results from ews121 for ios-simulator-wk2 (889.02 KB, application/zip)
2017-04-11 17:03 PDT, Build Bot
no flags
Blaze Burg
Comment 1 2017-04-11 10:55:42 PDT
Joseph Pecoraro
Comment 2 2017-04-11 11:12:27 PDT
Comment on attachment 306834 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=306834&action=review > Source/WebInspectorUI/ChangeLog:9 > + Keep in the code that manages the display modes, but remove the context > + menu code since it's dead and never shown. Why keep in the code managing display modes if they can't be reached? Seems like a bunch of CSS and Enums that could be removed.
Matt Baker
Comment 3 2017-04-11 11:13:43 PDT
Comment on attachment 306834 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=306834&action=review r=me > Source/WebInspectorUI/UserInterface/Base/Main.js:279 > + this.toolbar = new WebInspector.Toolbar(document.getElementById("toolbar"), null); The null navigationItems argument can be removed.
Matt Baker
Comment 4 2017-04-11 11:14:01 PDT
Oops Joe beat me to it.
Blaze Burg
Comment 5 2017-04-11 14:46:59 PDT
Joseph Pecoraro
Comment 6 2017-04-11 16:40:44 PDT
Comment on attachment 306855 [details] Patch r=me
Build Bot
Comment 7 2017-04-11 17:03:16 PDT
Comment on attachment 306855 [details] Patch Attachment 306855 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/3520770 New failing tests: webrtc/negotiatedneeded-event-addStream.html
Build Bot
Comment 8 2017-04-11 17:03:18 PDT
Created attachment 306876 [details] Archive of layout-test-results from ews121 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews121 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
WebKit Commit Bot
Comment 9 2017-05-10 14:59:20 PDT
Comment on attachment 306855 [details] Patch Clearing flags on attachment: 306855 Committed r216628: <http://trac.webkit.org/changeset/216628>
WebKit Commit Bot
Comment 10 2017-05-10 14:59:21 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.