[Webkit-unassigned] [Bug 151714] When Debug UI is enabled, Inspecting the Inspector should always be available

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 13 13:02:03 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=151714

--- Comment #3 from Brian Burg <bburg at apple.com> ---
(In reply to comment #2)
>
> To make 2nd-level inspector always available, we can always add the context
> menu in engineering builds only if the inspection level is >0.

It would be even better if we can execute some injected script if inspectionLevel() > 0 to see if debug UI is enabled. 

We'd need to evaluate the following from InspectorController (in the context of the main frame's document).

!!(WebInspector && WebInspector.debugUIEnabled())

How can we evaluate something like this in the main frame's ExecState?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151213/58dc6119/attachment.html>


More information about the webkit-unassigned mailing list