"ASSERTION: Scrolled rect smaller than scrollport?"

RESOLVED FIXED in mozilla1.9.3a5

Status

()

RESOLVED FIXED
9 years ago
7 years ago

People

(Reporter: jruderman, Assigned: mats)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
mozilla1.9.3a5
assertion, testcase
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

9 years ago
Created attachment 423170 [details]
testcase

###!!! ASSERTION: Scrolled rect smaller than scrollport?: 'result.width >= mScrollPort.width', file /Users/jruderman/central/layout/generic/nsGfxScrollFrame.cpp, line 3073
(Assignee)

Comment 1

9 years ago
Created attachment 428070 [details] [diff] [review]
Patch 1

We end up with negative desired width due to integer overflow.
Using NSCoordSaturatingAdd instead of '+' fixes it.
Attachment #428070 - Flags: review?(roc)
(Assignee)

Comment 2

9 years ago
http://hg.mozilla.org/mozilla-central/rev/74a560d813ae
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Flags: in-testsuite+
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Depends on: 718564
You need to log in before you can comment on or make changes to this bug.