Bug 107330
| Summary: | TextDocumentParser doesn't work with threaded HTML parser | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adam Barth <abarth> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | eric |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 106127 | ||
Adam Barth
TextDocumentParser::TextDocumentParser(HTMLDocument* document)
: HTMLDocumentParser(document, false)
, m_haveInsertedFakePreElement(false)
{
tokenizer()->setState(HTMLTokenizerState::PLAINTEXTState);
}
^^^ This code sets state on the main thread tokenizer, not the background tokenizer. We probably should just make TextDocumentParser always use the main thread.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
Makes sense.
Adam Barth
*** This bug has been marked as a duplicate of bug 109240 ***