Open Bug 696626 Opened 13 years ago Updated 2 years ago

"ASSERTION: Negative width passed to nsWindow::Resize"

Categories

(Core :: Widget: Win32, defect)

x86_64
Windows 7
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: assertion, testcase, Whiteboard: [lang=c++])

Attachments

(1 file)

Attached file testcase
Asserts in Windows-only code:

###!!! ASSERTION: Negative width passed to nsWindow::Resize: '(aWidth >=0 )', file widget/src/windows/nsWindow.cpp, line 1440

###!!! ASSERTION: Negative height passed to nsWindow::Resize: '(aHeight >=0 )', file widget/src/windows/nsWindow.cpp, line 1441
What is the expected behavior here? (Other than not throwing an assertion)
Whatever w.resizeTo(5000, 5000) does, more or less.  I think that's "make the window as big as it's allowed to be".
Assignee: nobody → anujagarwal464
Whiteboard: [mentor=bbondy][lang=c++]
Discussion in email
Assignee: anujagarwal464 → nobody
Mentor: netzen
Whiteboard: [mentor=bbondy][lang=c++] → [lang=c++]
I'll take it, though I need an explicit description of what the desired behavior is.
I tested this on tonight's Nightly build, and the assertion does not fail. 
What changed?
Mentor: netzen
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: