Bug 1801862 - Remove the pref to run the HTML parser on the main thread. r=edgar

Differential Revision: https://phabricator.services.mozilla.com/D162723
This commit is contained in:
Henri Sivonen
2022-12-14 11:58:02 +00:00
parent b595e40583
commit 7477d05323
4 changed files with 56 additions and 50 deletions

View File

@@ -234,7 +234,7 @@ nsHtml5StreamParser::nsHtml5StreamParser(nsHtml5TreeOpExecutor* aExecutor,
mNumBytesBuffered(0),
mTerminated(false),
mInterrupted(false),
mEventTarget(nsHtml5Module::GetStreamParserThread()->SerialEventTarget()),
mEventTarget(nsHtml5Module::GetStreamParserEventTarget()),
mExecutorFlusher(new nsHtml5ExecutorFlusher(aExecutor)),
mLoadFlusher(new nsHtml5LoadFlusher(aExecutor)),
mInitialEncodingWasFromParentFrame(false),