[Webkit-unassigned] [Bug 248444] New: Web Inspector: iframe breakpoints skipped when there are main frame breakpoints

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 28 16:35:59 PST 2022


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

            Bug ID: 248444
           Summary: Web Inspector: iframe breakpoints skipped when there
                    are main frame breakpoints
           Product: WebKit
           Version: Safari 16
          Hardware: All
                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 463773

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

Sample html demonstrating the bug

I tested with Safari 16.1 Version 16.1 (17614.2.9.1.13, 17614) and Safari Technology Preview Release 158 (Safari 16.4, WebKit 17615.1.12.110.1) on macOS 12.6.1, as well as with Safari on iOS 16.1.1.

Steps to reproduce:
1. Load the attached sample "test.html"
2. Set a breakpoint at "top breakpoint"
3. Set a breakpoint at "frame breakpoint"
4. Reload the page

Expected results: both breakpoints get hit.

Actual results: "top breakpoint" is hit, but "frame breakpoint" is missed.

Discussion:
If I disable "top breakpoint", then "frame breakpoint" does get hit. Only the presence of the main frame breakpoint causes the iframe breakpoint to be missed.

When I reload the page, I can see one of the breakpoints disappear from the web inspector sidebar. Both both breakpoints still appear in the source.

I actually discovered this bug while working on a Safari extension with "all_frames": true, but I was eventually able to determine that it wasn't an extension-specific bug.

-- 
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/20221129/6c1492c4/attachment-0001.htm>


More information about the webkit-unassigned mailing list