Closed
Bug 124294
Opened 24 years ago
Closed 24 years ago
Slew of linebreak assertions from serializer code
Categories
(Core :: DOM: Serializers, defect)
Core
DOM: Serializers
Tracking
()
People
(Reporter: sfraser_bugs, Assigned: t_mutreja)
References
Details
Attachments
(1 file)
|
4.91 KB,
text/plain
|
Details |
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.
| Reporter | ||
Comment 1•24 years ago
|
||
| Assignee | ||
Comment 2•24 years ago
|
||
Is this Mac specific bug? I'm unable to reproduce it on WinNT.
| Reporter | ||
Comment 3•24 years ago
|
||
It could be, since Mac's linebreak is \r, not \r\n as on Windows.
| Assignee | ||
Comment 4•24 years ago
|
||
As we don't have a Mac machine here, better to be assigned to the right person
there.
Assignee: tmutreja → mstoltz
| Reporter | ||
Comment 5•24 years ago
|
||
Giving back. This can be repro'd on Windows; see bug 124984.
Assignee: mstoltz → tmutreja
OS: Mac System 9.x → All
Hardware: Macintosh → All
| Reporter | ||
Comment 6•24 years ago
|
||
*** Bug 124984 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 7•24 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•