Summary: | Web Inspector: After enabling the new Network Tab in experimental settings, the network tab disappears | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||||
Component: | Web Inspector | Assignee: | Joseph Pecoraro <joepeck> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, hi, inspector-bugzilla-changes, joepeck, mjs, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Joseph Pecoraro
2017-10-02 13:45:54 PDT
Created attachment 322425 [details]
[PATCH] Proposed Fix
Comment on attachment 322425 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=322425&action=review > Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.js:259 > + if (!WI.settings.experimentalEnableNewNetworkTab.value) Shouldn't the reverse also be done (replace WI.NetworkTabContentView with WI.LEgacyNetworkTabContentView) if the setting changes to off? Also, doesn't a warning appear when you toggle this setting that you have to refresh to see the effects? Maybe a better solution would be to force a refresh if the user switches off the settings tab without clicking that button :| Comment on attachment 322425 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=322425&action=review >> Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.js:259 >> + if (!WI.settings.experimentalEnableNewNetworkTab.value) > > Shouldn't the reverse also be done (replace WI.NetworkTabContentView with WI.LEgacyNetworkTabContentView) if the setting changes to off? Also, doesn't a warning appear when you toggle this setting that you have to refresh to see the effects? Maybe a better solution would be to force a refresh if the user switches off the settings tab without clicking that button :| Sure I can do this for the legacy direction. Created attachment 322622 [details]
[PATCH] Proposed Fix
Comment on attachment 322622 [details]
[PATCH] Proposed Fix
r=me
Comment on attachment 322622 [details] [PATCH] Proposed Fix Clearing flags on attachment: 322622 Committed r222860: <http://trac.webkit.org/changeset/222860> All reviewed patches have been landed. Closing bug. |