WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
257188
Web Inspector: Give the possibility to create different breakpoints for the same event
https://bugs.webkit.org/show_bug.cgi?id=257188
Summary
Web Inspector: Give the possibility to create different breakpoints for the s...
Karl Dubost
Reported
2023-05-23 01:05:06 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-05-23 01:05:17 PDT
<
rdar://problem/109702814
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug