Closed Bug 383951 Opened 17 years ago Closed 17 years ago

nsXMLContentSink::ReportError should ignore NS_ERROR_HTMLPARSER_INTERRUPTED

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: peterv, Assigned: peterv)

References

Details

Attachments

(1 file)

We should ignore NS_ERROR_HTMLPARSER_INTERRUPTED being returned from nsXMLContentSink::HandleStartElement/HandleEndElement/HandleCharacterData in nsXMLContentSink::ReportError, it doesn't make sense to only partially construct the error document if it happens to be time to interrupt parsing.
Attached patch v1Splinter Review
Attachment #267893 - Flags: superreview?(bzbarsky)
Attachment #267893 - Flags: review?(bzbarsky)
Comment on attachment 267893 [details] [diff] [review]
v1

Looks reasonable.
Attachment #267893 - Flags: superreview?(bzbarsky)
Attachment #267893 - Flags: superreview+
Attachment #267893 - Flags: review?(bzbarsky)
Attachment #267893 - Flags: review+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: