Bug 257188
| Summary: | Web Inspector: Give the possibility to create different breakpoints for the same event | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Karl Dubost
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
<rdar://problem/109702814>