RESOLVED FIXED Bug 193743
Web Inspector: Audit: remove experimental setting
https://bugs.webkit.org/show_bug.cgi?id=193743
Summary Web Inspector: Audit: remove experimental setting
Devin Rousso
Reported 2019-01-23 15:52:37 PST
Turn the Audit tab on by default \(0.0)/
Attachments
Patch (8.22 KB, patch)
2019-01-23 16:03 PST, Devin Rousso
no flags
Patch (5.98 KB, patch)
2019-01-25 13:23 PST, Devin Rousso
no flags
Devin Rousso
Comment 1 2019-01-23 15:52:46 PST
Devin Rousso
Comment 2 2019-01-23 16:03:47 PST
Devin Rousso
Comment 3 2019-01-23 16:07:23 PST
Should we do anything for the situation where the user had already opened WebInspector? In that case, they'd already have a list of open tabs, and we wouldn't add the Audit tab to that list (it's only in the `defaultValue` list). If so, that would probably mean adding another semi-permanent setting 😅 that gets set when we force-add the Audit tab (so it only get's added once and won't reappear if the user then removes it themselves).
Joseph Pecoraro
Comment 4 2019-01-24 19:33:35 PST
Comment on attachment 359967 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=359967&action=review > Source/WebInspectorUI/ChangeLog:13 > + (WI.Setting.migrateValue): > + Drive-by: add the localStorage key prefix to the key passed into `WI.Setting.migrateValue`. This should really be done separately, since you aren't using it here the drive-by is totally unrelated. > Source/WebInspectorUI/UserInterface/Views/AuditTabContentView.js:-53 > - static isTabAllowed() > - { > - return !!window.RuntimeAgent && WI.settings.experimentalEnableAuditTab.value; > - } I still think we will want to disable this for ServiceWorkers and JSContexts... basically only allow this for Web Pages: static isTabAllowed() { return WI.sharedApp.debuggableType === WI.DebuggableType.Web; }
Devin Rousso
Comment 5 2019-01-25 13:23:27 PST
WebKit Commit Bot
Comment 6 2019-01-25 13:49:08 PST
Comment on attachment 360151 [details] Patch Clearing flags on attachment: 360151 Committed r240502: <https://trac.webkit.org/changeset/240502>
WebKit Commit Bot
Comment 7 2019-01-25 13:49:10 PST
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.