Andreas Kling
6f7b865cd1
LibWeb: Let HTML parser handle EOF inserted by document.close()
...
Before this change, the explicit EOF inserted by document.close() would
instantly abort the parser. This meant that parsing algorithms that ran
as part of the parser unwinding on EOF would never actually run.
591 new passes in WPT/html/syntax/parsing/ :^)
This exposed a problem where the parser would try to insert a root
<html> element on EOF in a document where someone already inserted such
an element via direct DOM manipulation. The parser now gracefully
handles this scenario. It's covered by existing tests (which would
crash without this change.)
2025-02-20 14:32:13 +01:00
..
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-01-11 11:09:47 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-01-07 00:43:41 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-01-07 00:43:41 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-11-03 17:51:44 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2025-01-07 00:43:41 +01:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-11 16:29:42 -07:00
2024-12-02 22:41:51 +00:00