зеркало из https://github.com/mozilla/gecko-dev.git
3b43737132
This patch makes the size of inner windows will be automatically rounded for either window.open() with window features or setting window size through innerWidth/Height and outerWidth/Height when fingerprinting resistance is enabled. If the given value is greater the maximum available rounded size, then it will be set to the maximum value. Otherwise, the size will be set to the nearest upper 200x100. This patch also adds one helper function in nsContentUtils for calculating the rounded window dimensions. MozReview-Commit-ID: J2r3951vuNN --HG-- extra : rebase_source : a44b19bdf2ce7e90fc831ddc2b85a86d594cb0c3 |
||
---|---|---|
.. | ||
appshell | ||
components |