haikuwebkit/Source/WebInspectorUI/UserInterface/Debug
BJ Burg e0c8d430c0 Web Inspector: add setting to allow inspecting Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=224082
<rdar://75695002>

Reviewed by Devin Rousso.

Source/WebCore:

Add a property to check if inspecting inspector is allowed,
and to enable/disable upon loading the frontend or toggling the setting.

* en.lproj/Localizable.strings:
* inspector/InspectorFrontendHost.cpp:
(WebCore::InspectorFrontendHost::inspectInspector):
(WebCore::InspectorFrontendHost::allowsInspectingInspector):
(WebCore::InspectorFrontendHost::setAllowsInspectingInspector):
* inspector/InspectorFrontendHost.h:
* inspector/InspectorFrontendHost.idl:

Source/WebInspectorUI:

Instead of telling curious users to set the WebKitDeveloperExtras default,
expose an experimental setting that does the same thing.

* UserInterface/Base/Main.js:
(WI.loaded):
* UserInterface/Base/Setting.js:
* UserInterface/Views/SettingsTabContentView.js:

Canonical link: https://commits.webkit.org/236534@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-15 00:18:33 +00:00
..
Bootstrap.css
Bootstrap.js Web Inspector: add setting to allow inspecting Web Inspector 2021-04-15 00:18:33 +00:00
CapturingProtocolTracer.js
DebugContentView.css
DebugContentView.js Web Inspector: drop `shown`/`hidden` in favor of `attached`/`detached` 2020-11-20 22:37:00 +00:00
ProtocolTrace.js
UncaughtExceptionReporter.css Web Inspector: update styles to use CSS properties with neutral directionality 2020-10-29 21:00:27 +00:00
UncaughtExceptionReporter.js [Cocoa] _WKInspectorDelegate should handle showing external resources 2020-09-22 16:14:08 +00:00