-
Notifications
You must be signed in to change notification settings - Fork 236
Suspend the whole tokenizer and tree builder on </script> #231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -404,19 +409,19 @@ impl<Sink: TokenSink> Tokenizer<Sink> { | |||
self_closing: self.current_tag_self_closing, | |||
attrs: replace(&mut self.current_tag_attrs, vec!()), | |||
}); | |||
self.process_token(token); | |||
; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potato fingers. I wonder how the tests passed though...
@bors-servo r+ Reviewed 8 of 9 files at r1, 1 of 1 files at r2, 3 of 3 files at r3, 1 of 1 files at r4. Comments from Reviewable |
📌 Commit 40580bb has been approved by |
@bors-servo r- I am dumb, you can't know which script halted the tokenizer as the code is currently. |
@bors-servo r+ Reviewed 10 of 10 files at r5. Comments from Reviewable |
📌 Commit 7a268f3 has been approved by |
⚡ Test exempted - status |
Suspend the whole tokenizer and tree builder on </script> <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/html5ever/231) <!-- Reviewable:end -->
This change is