Open Bug 1600400 Opened 5 years ago Updated 9 months ago

Consider dropping support for Window.sizeToContent()


(Core :: DOM: Core & HTML, task, P3)





(Reporter: ehsan.akhgari, Unassigned, Mentored)


(Blocks 1 open bug)


(Keywords: dev-doc-needed, site-compat)

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).

It may be time to consider dropping support for it and if needed keep it around for tests only.

Priority: -- → P3
Keywords: site-compat
Severity: normal → S3
Mentor: emilio
Depends on: 1832733
Depends on: 1855348
You need to log in before you can comment on or make changes to this bug.