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

RESOLVED INACTIVE

Status

()

Core
Widget: Win32
RESOLVED INACTIVE
7 years ago
a day ago

People

(Reporter: Jesse Ruderman, Unassigned, Mentored)

Tracking

({assertion, testcase})

Trunk
x86_64
Windows 7
assertion, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [lang=c++])

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
Created attachment 568928 [details]
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)
(Reporter)

Comment 2

7 years ago
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
(Assignee)

Updated

4 years ago
Mentor: netzen
Whiteboard: [mentor=bbondy][lang=c++] → [lang=c++]

Comment 4

4 years ago
I'll take it, though I need an explicit description of what the desired behavior is.

Comment 5

4 years ago
I tested this on tonight's Nightly build, and the assertion does not fail. 
What changed?

Comment 6

a day ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: a day ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.