Run the async HTML Tokenizer on a new thread

This commit is contained in:
Nikhil Shagrithaya 2017-06-24 13:27:09 +05:30
parent 3629efba75
commit 8ebd70d402
5 changed files with 469 additions and 223 deletions

View file

@ -48,7 +48,7 @@ pub enum VisitedHandlingMode {
/// Which quirks mode is this document in.
///
/// See: https://quirks.spec.whatwg.org/
#[derive(PartialEq, Eq, Copy, Clone, Hash, Debug)]
#[derive(PartialEq, Eq, Copy, Clone, Hash, Debug, HeapSizeOf)]
pub enum QuirksMode {
/// Quirks mode.
Quirks,