Don't animate height 1 year ago
Firefox already has a monitor module that AFAIU tracks UI stalls and prompts the user to stop the website if it hangs for a long period [1]. It probably can be further developed to also track resource consumption and show a warning if some threshold is reached.
[1] https://searchfox.org/mozilla-central/source/browser/modules...