Google Cloud Console is not usable with Dark Reader extension
Categories
(Firefox :: Extension Compatibility, defect)
Tracking
()
People
(Reporter: antispamrandomspaceship, Unassigned)
References
Details
Attachments
(1 file)
48.68 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0
Steps to reproduce:
I attempted to load the Google Cloud console (at console.cloud.google.com) to manage a project with Dark Reader enabled.
Actual results:
The navigation bars load, but any content in the pages does not.
Additionally, attempting to load the cloud console pages slows the whole browser down, and significantly increases CPU and RAM usage (10+% CPU usage increase on a Ryzen 5800X, and fluctuating between 1-2GB of additional RAM).
Expected results:
The cloud console should have loaded, and done so without excessive resource usage.
The site works perfectly with Dark Reader disabled, and it also works on Google Chrome with Dark Reader enabled.
Reporter | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Console' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 3•2 years ago
|
||
Since I should probably include full replication steps:
To replicate, you'll need a Google account.
Go to https://console.cloud.google.com/ and create a new project.
Install the Dark Reader extension.
Try to manage your Google Cloud project - APIs and Services is a good page to start with.
Hello, thank you for the bug report!
I managed to reproduce this issue on:
- Firefox 108.0b2;
- Firefox 107.0;
- Nightly 109.0a1;
Tested and reproduced on:
- macOS 12;
- Ubuntu 22;
- Windows 10;
Moving the Component to "Extension Compatibility" . Please feel free to change if there's a better fit.
Setting as NEW so that the developers can have a look.
Reporter | ||
Comment 5•2 years ago
|
||
See also the issue on the Dark Reader extension GH repo: https://github.com/darkreader/darkreader/issues/10297
Comment 6•10 months ago
|
||
I just tested this in 121 (and also 119 for comparison), and can see content being loaded when I visit console.cloud.google.com + logging in.
It looks like a performance issue caused by DarkReader, here is the profile: https://share.firefox.dev/3GgZnga
It shows significant jank on the main thread at Google, within MutationObserver, requestAnimationFrame AND setTimeout callbacks, handled by the watchForNodePosition
function in Dark Reader (version 4.9.70, latest version as of today). It seems that Dark Reader is eternally busy on this specific site, trying to somehow patch stylesheets in Google.
I created the above profile as follows:
- Install Dark Reader add-on (version 4.9.70)
- Visit profiler.firefox.com and enable the capture button.
- Visit console.cloud.google.com (and log in if not done yet, which redirects to https://console.cloud.google.com/getting-started/ )
- Wait a few seconds.
- Click the capture profile button.
- Wait a few seconds while still being idle at console.cloud.google.com).
- Click end capture and upload the profile.
Description
•