Closed Bug 124294 Opened 24 years ago Closed 24 years ago

Slew of linebreak assertions from serializer code

Categories

(Core :: DOM: Serializers, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 94475

People

(Reporter: sfraser_bugs, Assigned: t_mutreja)

References

Details

Attachments

(1 file)

I'm seeing a slew of linebreak assertions: ###!!! ASSERTION: aPos > aLen: 'aPos <= aLen', file nsJISx4501LineBreaker.cpp, line 466 which come from the serializer calling the linebreaker code at: result = mLineBreaker->Next(mCurrentLine.get(), mCurrentLine.Length(), goodSpace, (PRUint32 *) &goodSpace, &oNeedMoreText); line 1240 of nsPlainTextSerializer.cpp. We're passing 'goodSpace' values which are much longer than mCurrentLine.Length(). To repro this, copy and paste HTML source, for exampe from "HTML source view" in composer, into the 'Description' field of a bug entry page. Now activate and deactive the window; these assertions happen when we serialize the contents of the textarea.
Is this Mac specific bug? I'm unable to reproduce it on WinNT.
It could be, since Mac's linebreak is \r, not \r\n as on Windows.
As we don't have a Mac machine here, better to be assigned to the right person there.
Assignee: tmutreja → mstoltz
Giving back. This can be repro'd on Windows; see bug 124984.
Assignee: mstoltz → tmutreja
OS: Mac System 9.x → All
Hardware: Macintosh → All
*** Bug 124984 has been marked as a duplicate of this bug. ***
Cause of this bug is same as the one for bug# 94475 and patch uploaded there fixes this too. So even though the bug descriptions look different, I'm marking it as a dupe of 94475. *** This bug has been marked as a duplicate of 94475 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: