[Webkit-unassigned] [Bug 255130] New: WKWebView console.logs don't appear in Web Inspector on iOS 16.4

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 6 17:30:48 PDT 2023


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

            Bug ID: 255130
           Summary: WKWebView console.logs don't appear in Web Inspector
                    on iOS 16.4
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: milowyner at gmail.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 465803

  --> https://bugs.webkit.org/attachment.cgi?id=465803&action=review

Screenshot of Web Inspector console showing nothing logged after entering console.log("hello")

After updating to iOS 16.4 and figuring out how to re-enable the Web Inspector by setting my WKWebView's isInspectable to true, I noticed console.log messages don't appear in the console anymore. They do if I inspect a regular website on macOS Safari, but they don't show when inspecting a WKWebView app, whereas this worked find in iOS 16.3 and the previous macOS/Safari version. I made sure that "All" was selected, no filters were enabled, and the search bar was empty. Errors and warnings still appear, and entering code in the console still logs the output, but typing console.log("anything") or even console.info("anything") into the console just only logs the "undefined" result.

I'm on macOS 13.2.1, Safari 16.3, and iOS 16.4.

-- 
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/20230407/4b6ed58e/attachment.htm>


More information about the webkit-unassigned mailing list