"Blackbox source" option doesn't toggle in source tree item menu
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
People
(Reporter: chujunlu, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Steps to reproduce:
- Open https://eminent-vault.glitch.me/
- Open debugger
- Open script.js file in editor panel
- Click blackbox button in footer
- Right click "script.js" in primary panel
Actual results:
In the menu, the second option is "Blackbox source". Click it and nothing happens.
Expected results:
The second option should be "Unblackbox source" since script.js is blackboxed. Clicking it will remove the blackbox icon in source tab.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 1•5 years ago
|
||
May I take this one?
Hey Kevin, I noticed this bug when I worked on a related bug. My proposed fix for the other one would fix this at the same time. I thought it's neater to have separated bugs documented so I filed this one. Would you mind wait a little bit? If my patch doesn't work, I'll update here.
Sorry if I create any confusion.
The abovementioned patch for another bug that might be able to fix this one: https://phabricator.services.mozilla.com/D39402
Comment 4•5 years ago
|
||
Okay, no problem! Maintainers: please disregard my earlier comment.
@digitarald I think this bug is fixed along with https://phabricator.services.mozilla.com/D39402.
Comment 6•5 years ago
|
||
Yes, works for me as well!
Sounds good! I should close this.
Description
•