-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added valid resource id for task manager title when creating shields panel bubble #13367
Conversation
@@ -189,7 +189,7 @@ void BraveShieldsActionView::ButtonPressed() { | |||
if (!webui_bubble_manager_) { | |||
webui_bubble_manager_ = | |||
std::make_unique<WebUIBubbleManagerT<ShieldsPanelUI>>( | |||
this, profile_, GURL(kShieldsPanelURL), 1); | |||
this, profile_, GURL(kShieldsPanelURL), IDS_BRAVE_SHIELDS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I found that vpn panel also have same issue. - #13368
@@ -189,7 +189,7 @@ void BraveShieldsActionView::ButtonPressed() { | |||
if (!webui_bubble_manager_) { | |||
webui_bubble_manager_ = | |||
std::make_unique<WebUIBubbleManagerT<ShieldsPanelUI>>( | |||
this, profile_, GURL(kShieldsPanelURL), 1); | |||
this, profile_, GURL(kShieldsPanelURL), IDS_BRAVE_SHIELDS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking we should use "Brave Shields UI" so that people don't get confused and think this is a process for the actual shields work, and know this is for the UI renderer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the name has "Tool: ..." as part of the string vs a process "GPU Process"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can do it as a follow up: brave/brave-browser#22924
Verification PASSED on
Went through the STR/Cases outlined via brave/brave-browser#22814 (comment) and ensured Brave wasn't crashing when clicking on the
Example of the shields panel being displayed without Brave crashing while in a Google Meeting: |
Resolves brave/brave-browser#22814
When creating ShieldsPanelUI bubble a valid resource id for task manager title wasn't given and a crash was happening when TaskManager was fetching it's title.
Adding a valid resource id for task manager title fixed the crash.
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: