Closed
Bug 168881
Opened 23 years ago
Closed 23 years ago
No more syntax highlighting for XML files, possible crashes in nsContentDLF::CreateInstance
Categories
(Core Graveyard :: View Source, defect)
Core Graveyard
View Source
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bzbarsky, Assigned: doronr)
Details
Attachments
(1 file)
1.70 KB,
patch
|
rbs
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
I made a mistake in my fix for bug 77337 that breaks highlighting of XML... The
problem is in nsContentDLF::CreateInstance. The code that loops over HTML types
is fine, but we need to do
typeIndex = 0;
before looping over XML types (same for SVG and RDF). In fact, what we do now
could lead to cool shit like crashing (and I would not be surprised if it has).
I don't have a tree, so can't produce a patch based on the above information,
but producing said patch should be a 2-minute job....
Summary: No more syntax highligting for XML files, possible crashes in nsContentDLF::CreateInstance → No more syntax highlighting for XML files, possible crashes in nsContentDLF::CreateInstance
Comment on attachment 99554 [details] [diff] [review]
patch
r/sr=rbs
Attachment #99554 -
Flags: review+
Comment 3•23 years ago
|
||
Comment on attachment 99554 [details] [diff] [review]
patch
sr=jst
Attachment #99554 -
Flags: superreview+
![]() |
Reporter | |
Comment 5•23 years ago
|
||
Timeless, thanks for doing that! (I thought I cced caillon and asked him to
deal, but I guess I forgot...)
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•