Bug 107330 - TextDocumentParser doesn't work with threaded HTML parser
Summary: TextDocumentParser doesn't work with threaded HTML parser
Status: RESOLVED DUPLICATE of bug 109240
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 106127
  Show dependency treegraph
Reported: 2013-01-18 14:54 PST by Adam Barth
Modified: 2013-02-08 10:47 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2013-01-18 14:54:35 PST
TextDocumentParser::TextDocumentParser(HTMLDocument* document)
    : HTMLDocumentParser(document, false)
    , m_haveInsertedFakePreElement(false)

^^^ This code sets state on the main thread tokenizer, not the background tokenizer.  We probably should just make TextDocumentParser always use the main thread.
Comment 1 Eric Seidel (no email) 2013-01-18 14:55:21 PST
Makes sense.
Comment 2 Adam Barth 2013-02-08 10:47:20 PST

*** This bug has been marked as a duplicate of bug 109240 ***