[Webkit-unassigned] [Bug 257188] New: Web Inspector: Give the possibility to create different breakpoints for the same event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 23 01:05:06 PDT 2023


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

            Bug ID: 257188
           Summary: Web Inspector: Give the possibility to create
                    different breakpoints for the same event
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karlcow at apple.com
                CC: inspector-bugzilla-changes at group.apple.com,
                    webkit-bug-importer at group.apple.com

1. Go to a site
2. Open Web Inspector
3. Go to Sources
4. Click on the + in the breakpoint section
5. Choose Event Breakpoint…
6. a widget appears… in the Event field, type: resize 
7. Add Action. Choose Log Message on the drop down
8. Type RESIZE in for the log message
9. Check the options Box for automatically continue after evaluating
10. Click outside of the widget
11. Click again the + and choose Event Breakpoint…
12. In the Event type field, type: resize
13. in the condition type: window.getComputedStyle(document.body).width == "1000px"
14. Click outside of the window

Results:
The breakpoint is not added.
A beep notifies about it.

Note:
It would be practical to be able to add multiple breakpoints for the same type of event with different conditions. 
Maybe it would require to distinguish in between names of the breakpoint and name of the event we want to target.

-- 
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/20230523/0f2a15e7/attachment-0001.htm>


More information about the webkit-unassigned mailing list