[Webkit-unassigned] [Bug 187415] [WinCairo] Support display of webinspector ui on non-legacy minibrowser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 9 14:01:05 PDT 2018


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

--- Comment #11 from Stephan Szabo <stephan.szabo at sony.com> ---
Comment on attachment 344483
  --> https://bugs.webkit.org/attachment.cgi?id=344483
Initial WebInspector UI bits for non-legacy wincairo

View in context: https://bugs.webkit.org/attachment.cgi?id=344483&action=review

>> Tools/MiniBrowser/win/WebKitBrowserWindow.cpp:90
>> +    // Set developer extras enabled on the main browser window!
> 
> Why do you need this even though you does "preferences->setDeveloperExtrasEnabled(true)" for the inspector's WebView.

What I'd been running into was that WebInspectorProxy sends Messages::WebInspector::Show() for the inspected page. Which will then do m_page->corePage()->inspectorController().show(), but InspectorController's show aborts early if !enabled() which seems to be based on m_page.settings().developerExtrasEnabled(). Also, the same InspectorController::enabled for the "inspected" page seems to be used to determine whether to allow "Inspect Element" in the context menu by ContextMenuController::showContextMenu, so without the controller being enabled, the menu entry seems to not be added.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180709/7e6a7f04/attachment.html>


More information about the webkit-unassigned mailing list