[Webkit-unassigned] [Bug 147073] Can’t use Web Inspector on web views made by TestWebKitAPI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 15 09:50:43 PDT 2021


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

--- Comment #1 from BJ Burg <bburg at apple.com> ---
Hi Dan,

I looked into this yesterday. In 2021, this mostly works, except that it is necessary to spin a nested run loop at the point in the test where you would like to remote inspect the WebView. Messages from the remote connection are dispatched through UIProcess, so if lldb has paused UIProcess, WebInspectorUI will not be able to get any data from the inspected WebView.

I'm going to write some debug helper macros similar to SLEEP_THREAD_FOR_DEBUGGER() so that it's easy for a test to spin the run loop until a Web Inspector frontend has attached or detached to a specific webview.

-- 
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/20210415/93c4e893/attachment.htm>


More information about the webkit-unassigned mailing list