-
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
mobile.twitter.com right click hang #2410
Comments
I just experienced this too. The lag took 14.4s.
|
Well, mobile.twitter.com is now officially the new twitter.com, I just got upgraded to it. |
Several +1's from Community: |
I've dug a bit on this issue and found that the cause of the few seconds hang is the I've opened a pull request for the fix here https://github.com/brave/brave-extension |
This also happens on Windows 10.
|
Quick update - the problem is with our cosmetic filtering code. A unique selector is calculated on right click, in the event that you go into the Brave menu and choose Looking into a fix now... |
`unique` call (to get selector for target) can be expensive; now only called when user chooses `Block element via selector` Fixes brave/brave-browser#2410
@brave/legacy_qa once we get a nightly that includes brave/brave-core#2043 & brave/brave-core#2063, we'll need to go through the test plans to ensure that it's working as expected and didn't cause any other obvious performance issues or regressions. We would like to get this uplifted into |
Verification passed on
|
Verification PASSED on
Verification passed on
Used test plan from brave/brave-core#2043 and #2410 (comment) |
Test plan
See brave/brave-core#2043
Description
Right clicking on mobile.twitter.com hangs the entire tab for a few seconds.
Steps to Reproduce
Actual result:
Devtools Performance panel screenshot, see the long “Event (context menu)”. Right click menu doesn’t appear until it ends executing all that Javascript, so 11 seconds.
Devtools performance panel screenshot
Expected result:
Right click menu pops up very quickly.
Reproduces how often:
Always.
Brave version (brave://version info)
Reproducible on current release:
Website problems only:
Additional Information
The text was updated successfully, but these errors were encountered: