зеркало из https://github.com/mozilla/gecko-dev.git
0e6f1f5155
When SetSize etc. are called before OnChromeLoaded has been invoked, the functions assume that the window initialization code wants to size the window specifically, and thus ignore the values from the <window> element. However, bug 1439875 changes the behavior so that SizeShell is also invoked before OnChromeLoaded, which confuses the functions above, and causes some of the attributes not to be loaded properly. This patch adds a separate flag to avoid ignoring those attributes when those functions are invoked as part of SizeShell itself. It can cause extra reflow if the window is opened in maximized state, and thus the new whitelist items. They may be fixed by bug 1448199. MozReview-Commit-ID: 7jT8w9KGmzy --HG-- extra : rebase_source : d970be5b1ae0588f6b0b63e2bd6a711853c82478 |
||
---|---|---|
.. | ||
appshell | ||
components |