You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HTML parser spec is streaming (although the tree is sometimes mutated in interesting ways). In whatwg/html#2142 there's a proposal to add a streaming API for the parser.
If the sanitizer API should be usable with the streaming HTML parser API, then sanitization needs to also be streamable.
See whatwg/html#8759 (comment)
The HTML parser spec is streaming (although the tree is sometimes mutated in interesting ways). In whatwg/html#2142 there's a proposal to add a streaming API for the parser.
If the sanitizer API should be usable with the streaming HTML parser API, then sanitization needs to also be streamable.
It seems possible to perform sanitization in the tree builder stage of the HTML parser: https://html.spec.whatwg.org/multipage/parsing.html#creating-and-inserting-nodes
The text was updated successfully, but these errors were encountered: