-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
crash when using sidepanel extension #31328
Comments
@tortino2 Thanks for reporting! I'm looking now. |
crash reports from brave://crashes: |
@tortino2 I added STR to issue description. maybe it's same with your steps? |
yes, they seems the same steps as mine. |
fix brave/brave-browser#31328 When last entry is extension, crash could be happened because we fetches only id from last extension entry. and then upstream tries to create SidePanelEntryKey with only that entry id. However extension's SidePanelEntryKey should be created with another ctor with id and extension id. If GetLastActiveEntryKey() can give value when entry_id is null, let upstream handle it instead of fetching id from it.
fix brave/brave-browser#31328 When last entry is extension, crash could be happened because we fetches only id from last extension entry. and then upstream tries to create SidePanelEntryKey with only that entry id. However extension's SidePanelEntryKey should be created with another ctor with id and extension id. If GetLastActiveEntryKey() can give value when entry_id is null, let upstream handle it instead of fetching id from it.
The above requires |
Verification
Reproduced the issue in Verified Brave crashed when sidebar is clicked again, 2023-07-05_09h10_59.mp4
Confirmed Brave no longer crashes when sidebar is clicked to open or close.2023-07-05_09h41_09.mp4 |
Description
since chrome 114 google has implemented a new sidepanel api for web extensions:
https://developer.chrome.com/docs/extensions/reference/sidePanel/
I have installed this extension that uses this new api:
https://chrome.google.com/webstore/detail/bing-sidebar-for-chrome/ncjedehfkpnliaafimjhdjjeggmfmlgf
but when I try to show the brave sidebar the browser crashes!
you should fix your custom sidepanel to support this new api.
Steps to Reproduce
Actual result:
Crashed
Expected result:
Not crashed
Reproduces how often:
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
Crash log
The text was updated successfully, but these errors were encountered: