[Webkit-unassigned] [Bug 275606] New: Web Inspector: Preserve log loses message after window.open and navigation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 18 06:54:46 PDT 2024


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

            Bug ID: 275606
           Summary: Web Inspector: Preserve log loses message after
                    window.open and navigation
           Product: WebKit
           Version: Safari 17
          Hardware: Mac (Apple Silicon)
                OS: All
            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 471698

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

Sample HTML demonstrating the bug

Safari 17.5 and Safari Technology Preview 196 on macOS Sonoma 14.5. (I haven't tested on any other configurations.)

Steps to reproduce:
1. Open the attached sample HTML in Safari
2. Open the web inspector to the Console tab
3. Enable Preserve Log
4. Click the window.open() button
5. Wait 5 seconds until the new tab navigates to https://webkit.org/
6. Select the new tab
7. Open the web inspector to the Console tab

Expected results: Log message "Hello world!"

Actual results: No log message

However, you can see the log message if you skip step 5 and quickly do steps 6 and 7 before the timeout.

-- 
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/20240618/ea4d0649/attachment.htm>


More information about the webkit-unassigned mailing list