[Webkit-unassigned] [Bug 203864] New: Web Inspector: Console cleared late after page load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 5 14:10:08 PST 2019


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

            Bug ID: 203864
           Summary: Web Inspector: Console cleared late after page load
           Product: WebKit
           Version: Safari 13
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: opendarwin at lapcatsoftware.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 382846

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

Reproducible test case

When "Preserve Log" is disabled in the Console, the Console is cleared late after a page is loaded. This can cause log messages to be lost. This problem does not occur when "Preserve Log" is enabled.

I discovered this bug because my Safari app extension was logging the window.href on load, but I wasn't always seeing the log message as I was navigating the web and clicking on links. I was able to find an easily reproducible test case, attached as "test.html", which simply logs to the console at various times during page load. You can see in the attached screenshots how the log messages get lost when the page is reloaded and "Preserve Log" is disabled.

The expected behavior is that the log is cleared before the page starts loading, so that all log messages on the page would be displayed.

-- 
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/20191105/2e2617e1/attachment-0001.htm>


More information about the webkit-unassigned mailing list