WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
218064
Web Inspector: REGRESSION(
r266074
): Sources: icon for non-JavaScript breakpoints doesn't change when breakpoints are globally disabled
https://bugs.webkit.org/show_bug.cgi?id=218064
Summary
Web Inspector: REGRESSION(r266074): Sources: icon for non-JavaScript breakpoi...
Devin Rousso
Reported
2020-10-21 18:14:25 PDT
# STEPS TO REPRODUCE 1. inspect any page 2. add any non-JavaScript breakpoint (e.g. All Listeners) 3. disable breakpoints globally # EXPECTED icon next to the breakpoint added in step 2 should go greyscale # ACTUAL icon next to the breakpoint added in step 2 is still colored
Attachments
Patch
(8.63 KB, patch)
2020-10-21 18:16 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2020-10-21 18:15:35 PDT
my guess is that this was caused by
r266074
Devin Rousso
Comment 2
2020-10-21 18:16:18 PDT
Created
attachment 412055
[details]
Patch
Joseph Pecoraro
Comment 3
2020-10-22 09:49:24 PDT
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?
Devin Rousso
Comment 4
2020-10-22 13:06:42 PDT
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.
EWS
Comment 5
2020-10-22 13:09:07 PDT
Committed
r268885
: <
https://trac.webkit.org/changeset/268885
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 412055
[details]
.
Radar WebKit Bug Importer
Comment 6
2020-10-22 13:10:24 PDT
<
rdar://problem/70586182
>
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