Perhaps if web browsers in general returned to that crazy, old idea that ram is not an infinite resource and that I as a user should be able to set a reasonable limit on the maximum amount of ram a single web page or extension should be allowed to consume this wouldn't be a problem.
Instead, a few errant lines of javascript on a web page or in an extension is all that is needed to cause a web browser to consume every byte of available ram on a system and drive it into swap. :-/
I really miss the 90s web sometimes.