| Summary: | Web Inspector: REGRESSION(r266074): Sources: icon for non-JavaScript breakpoints doesn't change when breakpoints are globally disabled | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||
| Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | hi, inspector-bugzilla-changes, joepeck, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Bug Depends on: | 215362 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Devin Rousso
2020-10-21 18:14:25 PDT
Created attachment 412055 [details]
Patch
Comment on attachment 412055 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=412055&action=review r=me > Source/WebInspectorUI/ChangeLog:12 > + Add `get resolved` to the base class based on `WI.debuggerManager.breakpointsEnabled`. Use What causes the entire sidebar to update status when the global state changes? Comment on attachment 412055 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=412055&action=review >> Source/WebInspectorUI/ChangeLog:12 >> + Add `get resolved` to the base class based on `WI.debuggerManager.breakpointsEnabled`. Use > > What causes the entire sidebar to update status when the global state changes? Each `WI.BreakpointTreeElement` adds a listener for `WI.DebuggerManager.Event.BreakpointsEnabledDidChange`, which uses `get resolved` in the handler `updateStatus`. `WI.SourcesNavigationSidebarPanel` also has it's own listener for `WI.DebuggerManager.Event.BreakpointsEnabledDidChange` that updates the button and the "breakpoints disabled" banner at the top, but that's separate. Committed r268885: <https://trac.webkit.org/changeset/268885> All reviewed patches have been landed. Closing bug and clearing flags on attachment 412055 [details]. |