<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - When Debug UI is enabled, Inspecting the Inspector should always be available"
href="https://bugs.webkit.org/show_bug.cgi?id=151714#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - When Debug UI is enabled, Inspecting the Inspector should always be available"
href="https://bugs.webkit.org/show_bug.cgi?id=151714">bug 151714</a>
from <span class="vcard"><a class="email" href="mailto:bburg@apple.com" title="Brian Burg <bburg@apple.com>"> <span class="fn">Brian Burg</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=151714#c2">comment #2</a>)
>
<span class="quote">> To make 2nd-level inspector always available, we can always add the context
> menu in engineering builds only if the inspection level is >0.</span >
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>