Open Bug 398871 Opened 17 years ago Updated 2 years ago

Setting window.outerHeight to 0 in chrome makes the window disappear

Categories

(Core :: XUL, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: jason.barnabe, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

274 bytes, application/vnd.mozilla.xul+xml
Details
Attached file testcase
Setting window.outerHeight to 0 makes the window disappear from view and from the task bar. Closing all other windows leaves the app still open.
The testcase seems to work when run remotely - run it from chrome to see the problem. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a9pre) Gecko/2007092900 Minefield/3.0a9pre
Summary: Setting window.outerHeight to 0 makes the window disappear → Setting window.outerHeight to 0 in chrome makes the window disappear
What are your expected results?
I don't really care what happens, as long as it's something sane like throwing an exception and/or enforcing a minimum height.
We already enforce a minimum height, for non-chrome callers. Chrome callers are expected to not shoot themselves in the foot... Although the disappearance of the taskbar entry is kind of weird.
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: