Open Bug 1248037 Opened 8 years ago Updated 2 years ago

"View source" doesn't syntax-highlight in certain page

Categories

(Toolkit :: View Source, defect)

defect

Tracking

()

People

(Reporter: alice0775, Unassigned)

References

()

Details

STR
Open URL
keyPress ctrl+U

This is not a recent regression.
I believe it is due to the Content-Type header in the server's response.  For the URL given here, it is:

Content-Type: multipart/x-mixed-replace;boundary="------- =_aaaaaaaaaa0"; charset=UTF-8

Needs more investigation to check what path we go down in the parser:

https://dxr.mozilla.org/mozilla-central/rev/e355cacefc881ba360d412853b57e8e060e966f4/dom/html/nsHTMLDocument.cpp#597-613
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.