Closed Bug 404281 Opened 18 years ago Closed 18 years ago

[FIX]layout can pass widgets a layout width of "1<<30"

Categories

(Core :: Layout, defect, P4)

x86
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jaas, Assigned: bzbarsky)

References

Details

In bug 398336 we discovered that layout can pass widgets a layout width of "1<<30". This almost certainly shouldn't be happening. "Loading the testcase from Bug 398158 (https://bugzilla.mozilla.org/attachment.cgi?id=283018)(and clicking on this bar) freeze Trunk Builds and the entire mac system." I've heard that the freeze will only happen the first time the bad code runs on a boot, so if you reproduce it once you'll have to reboot to get it again. Presumably the layout bug still happens but Mac OS X just doesn't freeze up more than once.
Flags: blocking1.9?
Blocks: 398336
No longer blocks: 398336
Depends on: 398336
As noted in the other bug, this is a regression from Eli's Gecko units patch. "I've traced it to the Gecko units patch in bug 177805, landed back in February; previous code works, apply patch, rebuild, now it fails." - Stan Shebs
I can't load the bug in comment 0.... This is likely the same as bug 363858, if https://bugzilla.mozilla.org/attachment.cgi?id=283018 is the right testcase.
We probably should have some bulletproofing in widget code to protect against creating super-large widgets.
Flags: blocking1.9? → blocking1.9+
Priority: -- → P4
See bug 398336 comment #15, that bug is about bulletproofing in widget code now.
Patch in bug 363858 will fix this.
Depends on: 363858
Summary: layout can pass widgets a layout width of "1<<30" → [FIX]layout can pass widgets a layout width of "1<<30"
Fixed by checkin for bug 363858.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.