mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 06:22:20 +00:00
![Michael[tm] Smith](/assets/img/avatar_default.png)
Doing `errUnclosedElements(eltPos, "template")` for EOF in the “in template” state results in the error message “End tag `template` seen, but there were open elements”, which is all wrong because the actual problem is that though a `template` end tag was expected, EOF was reached without a `template` end tag being seen. So let’s instead when we reach this just report the list of open elements. Differential Revision: https://phabricator.services.mozilla.com/D122598