disable windows.sizeToContent()
1600400 Consider dropping support for Window.sizeToContent()
- unexposed in nightly FF117+
- disabled in FF120+
dom.window.sizeToContent.enabled
from 1600400
This is a Gecko specific API, it is user-hostile (it allows a web page to resize the browser window, potentially allowing for things like hiding the URL bar), it relies on window.opener and the number of tabs in the current window for its functionality, and is currently implemented incorrectly in Fission (in that it is exposed to third-party iframes when running in Fission mode).
easy peasy