-
Notifications
You must be signed in to change notification settings - Fork 926
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Farble window.{resizeTo,moveTo}; enforce minimum farbled screen size
When farbling screen size, make sure window.resizeTo and window.moveTo use the farbled coordinate system. When a window.open(...) popup is opened with very small dimensions, scripts should not be told that the screen is extremely small. So we put a minimum screen width and height, with a random number between 0 and 8 added to each dimension. Fixes #27492
- Loading branch information
1 parent
ee92f03
commit b8587dd
Showing
4 changed files
with
134 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters