yokoffing / Betterfox

Firefox user.js for speed, privacy, and security. Your favorite browser, but better.
MIT License
6.11k stars 150 forks source link

browser.contentblocking.category=strict breaks various websites #264

Closed webstrand closed 11 months ago

webstrand commented 11 months ago

BEFORE YOU BEGIN

I have attempted the following troubleshooting suggestions:

REPORT

Describe the bug Visiting https://www.google.com/maps/place/mongolia/data=!4m2!3m1!1s0x3627050669aa6d4b:0xe0dd213937e6e096?sa=X&ved=2ahUKEwiCx9DS5-6CAxWAk4kEHQg9DAMQ8gF6BAgREAA causes the tab to lock up.

To Reproduce Steps to reproduce the behavior:

1. Create a new profile
2. Install user.js
3. Visit <https://www.google.com/maps/place/mongolia/data=!4m2!3m1!1s0x3627050669aa6d4b:0xe0dd213937e6e096?sa=X&ved=2ahUKEwiCx9DS5-6CAxWAk4kEHQg9DAMQ8gF6BAgREAA>
4. Observe that the tab is non-responsive

Expected behavior The tab should not lock up like this

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context I bisected user.js to find the offending preference, and I found that if I remove user_pref("browser.contentblocking.category", "strict") from user.js and create a new profile (you must restart firefox after changing this value) that map page no longer becomes non-responsive.

Various other pages become inconsistently non-responsive, that maps link is the only one that's consistent.

yokoffing commented 11 months ago

I cannot reproduce on Stable or Nightly with Windows 11. I don't have access to a Linux build at the moment, so this may be a Linux-only bug. But that's a pretty serious bug for Mozilla if Strict is causing that behavior.

There was an issue awhile back with Google Maps caused by WebGL https://github.com/yokoffing/Betterfox/issues/203.

Have you updated to 120.0.1?

Fixed an issue that was causing 100% CPU usage on sites such as Google Maps. (bug 1866409)

webstrand commented 11 months ago

Yep, upgrading to 120.0.1 does indeed fix the issue.