Open Bug 512229 Opened 15 years ago Updated 2 years ago

[HTML5] Expose HTML5 'parse errors' to the error console

Categories

(Core :: DOM: HTML Parser, enhancement, P4)

enhancement

Tracking

()

People

(Reporter: hsivonen, Unassigned)

References

(Blocks 1 open bug)

Details

It would be nice to report HTML5 'parse errors' to the error console if the perf characteristics don't turn out to be awful.
Blocks: 49551
Priority: -- → P4
This would help resolve the issue in bug 499246 regarding the parsing of invalid HTML tags, e.g. self-closing HTML tags on non-void HTML elements, e.g. The script tag, <script src="..."></script>, which is a raw text element and is invalid when presented in a self-closing format, <script src="..."/>. Currently, when the invalid self-closing tag of the raw text element "script", i.e. <script src=".."/>, is encountered, Firefox presents an empty display with no error in the error console. It would be beneficial to know that Firefox croaked on display when attempting to parse the invalid tag.
Blocks: 609871
Isn't this the same as bug 878364? Sebastian
QA Whiteboard: dupeme?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.