Open Bug 1079962 Opened 12 years ago Updated 4 years ago

window.maximize() is a no-op while window is loading

Categories

(Core :: XUL, defect)

32 Branch
x86_64
Linux
defect

Tracking

()

People

(Reporter: jason.barnabe, Unassigned)

Details

Run this from the console: window.openDialog("data:text/html,blah blah blah<script>window.maximize()</script>") Result: window is not maximized, no error displayed If you wait a bit, then it works: window.openDialog("data:text/html,blah blah blah<script>setTimeout(window.maximize, 100)</script>") Result: window is maximized
Somewhat similar - bug 171482.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.