[Webkit-unassigned] [Bug 272098] New: Web Inspector: List of breakpoints in Sources tab disappears when inspector reloads

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 3 11:00:55 PDT 2024


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

            Bug ID: 272098
           Summary: Web Inspector: List of breakpoints in Sources tab
                    disappears when inspector reloads
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: qianlangchen at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 470747

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

Video demo: I had to change the file filter to see the list of breakpoints

The web inspector's Sources tab sometimes doesn't show the list of breakpoints until the user clicks on a file filter.

To reproduce:
   1. Open Safari and go to any website (e.g. apple.com).
   2. Open the web inspector and go to the Sources tab.
   3. Make a breakpoint in any file:
      a. Select any .js or .html file from the left sidebar.
      b. In the text editor, click on the line number of any line (e.g. line 1).
   4. Fold the Breakpoints section in the left side bar by clicking on the "Breakpoints" dropdown title.
      - Sometimes the bug reproduces without having to do this step, but I found doing this guarantees (for me at least) the bug to appear.
   5. Close the web inspector.
   6. Open the web inspector and go to the Sources tab again.
   7. Expand the Breakpoints section if it's folded, and observe that the breakpoint you made in step 3 does not show up.
   8. Underneath the Breakpoints section, click to change the current file filter ("By Type" or "By Path", whichever one is not selected currently).
   9. Observe that the breakpoint you made in step 3 now shows up in the Breakpoints section.

See attached for a video demo reproducing this bug.

Actual behavior:
Sometimes the breakpoints are hidden until the file filter is changed.

Expected behavior:
All breakpoints should show at the start.

rdar://123641994

-- 
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/20240403/06b00830/attachment.htm>


More information about the webkit-unassigned mailing list