Description of the issue:
When a Brave “app” (created by creating a shortcut) receives any macOS Accessibility event, its window will close immediately.
Steps to Reproduce:
- Launch Brave
- Navigate to any website.
- Create a shortcut to the website as an app, per the steps at https://support.google.com/chrome_webstore/answer/3060053?hl=en. Make sure to check “Open as window” when creating the shortcut.
- Open the created “app”. This will show the website in a new window, with less browser chrome.
- Launch Accessibility Inspector.
- Click the “Crosshair” button and hover the “app” window.
Instead of steps 5+6, one can also use any other tool that uses the Accessibility API, such as BetterTouchTool or my app Timing.
The window will close almost immediately.
The window should not close, and Accessibility Inspector should show information about the window.
Reproduces how often:
Brave Version(See the About Brave page in the main menu):
Brave version 1.12.114
Reproducible on current live release (yes/no):
I’m using macOS 10.15.6, all updates installed.