HTML parse errors should cause mochitests to fail

RESOLVED WONTFIX

Status

Testing
Mochitest
--
enhancement
RESOLVED WONTFIX
6 years ago
5 months ago

People

(Reporter: ayg, Unassigned)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

See bug 735805 comment 11.  In fixing that bug, I found two tests that ran no checks because a > or " was omitted in the source code, causing the test contents to be eaten silently by the parser.  Any HTML files used by mochitest should ideally be checked for parse errors before running.  An opt-out mechanism might be desired for tests that intend to test parse errors, but we have separate parser tests as far as I understand it.  Obviously, any such fix will need lots and lots of tests to be updated.

Henri says this would be hard, so I'm not expecting this to happen anytime soon, but it seems like a good idea to file it anyway.
Blocks: 452942
Depends on: 736886
Version: unspecified → Trunk
No longer blocks: 452942
Mass closing mochitest bugs that haven't had activity in the past 5 years. Please re-open or file a new bug with modern context if this is still relevant.
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.