Firefox has 3 HTML parsers. One for HTML. One for (I think) XML/XHTML. One for about:blank.
The fact that about:blank, LITERALLY AN EMPTY PAGE, is full of weird edge cases, is the most 'web' thing.
4
75
1
185
I thought the legacy parser had managed to be killed a year or two ago, and about:blank just used the normal one?
1
1
No, the ghost if the old HTML parser is still there just for parsing about:blank. I view this as a failure of mine.
2
2
The code has been somewhat simplified, though, such as searchfox.org/mozilla-centra…

Nov 3, 2017 · 8:20 PM UTC

1
1
Boy, all of that SAX stuff that's still around for a single user (FeedProcessor.js)?
2
2