Closed
Bug 198995
Opened 22 years ago
Closed 22 years ago
nsScriptLoader::OnStreamComplete reports an erroneous assertion
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dbradley, Unassigned)
References
Details
Attachments
(1 file)
1.29 KB,
patch
|
jst
:
review+
peterv
:
superreview+
|
Details | Diff | Splinter Review |
When a channel provides a charset
(http://lxr.mozilla.org/seamonkey/source/content/base/src/nsScriptLoader.cpp#770),
and GetPreferred doesn't return one and returns an error
(http://lxr.mozilla.org/seamonkey/source/content/base/src/nsScriptLoader.cpp#777),
the assertion is fired. I don't think this should happen, but the paths of this
function are rather complex.
I'm using a trunk build on WinXP from 3/23
Reporter | ||
Comment 1•22 years ago
|
||
This problem might be that the code at line 773 is using characterSet instead of
a temporary like the code at 789 is doing
Reporter | ||
Comment 2•22 years ago
|
||
I'm not sure this is the right thing, but it mimics the code below and clears
up the assertion problem
Comment 3•22 years ago
|
||
David, could you provide a link to a page that shows this problem? I'd like to
step through this code in such a case to make sure we get this right.
Reporter | ||
Updated•22 years ago
|
Attachment #118319 -
Flags: superreview?(peterv)
Attachment #118319 -
Flags: review?(jst)
Comment 4•22 years ago
|
||
Comment on attachment 118319 [details] [diff] [review]
A possible fix
r=jst
Attachment #118319 -
Flags: review?(jst) → review+
Updated•22 years ago
|
Attachment #118319 -
Flags: superreview?(peterv) → superreview+
Comment 5•22 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•