Closed Bug 895264 Opened 11 years ago Closed 11 years ago

"ASSERTION: negative length" with bidi, caret browsing, selection tweaking

Categories

(Core :: Layout: Text and Fonts, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr17 --- unaffected
firefox-esr24 --- fixed
b2g18 --- unaffected
b2g-v1.1hd --- unaffected
b2g-v1.2 --- unaffected

People

(Reporter: jruderman, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file testcase
1. Create a profile with the following prefs.js:

     user_pref("accessibility.browsewithcaret", true);
     user_pref("bidi.browser.ui", true);
     user_pref("bidi.direction", 2);

2. Load the testcase
3. Click to the right of the 'X'

###!!! ASSERTION: negative length: 'GetContentEnd() - mContentOffset >= 0', file layout/generic/nsTextFrame.h, line 435
Attached file stack
This is fixed by the patch in bug 887631
Depends on: 887631
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
Is Firefox 22 unaffected by this?
The bug is not reproducible on trunk builds before 2013-05-08, so Firefox 22 should be unaffected, but I haven't tested.
Group: core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: