mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Make sure the encoding of the HTML5 parser is confident when the entire doc is document.written()
This commit is contained in:
parent
eed73a0439
commit
797e7e764b
@ -320,6 +320,7 @@ nsHtml5Parser::Parse(const nsAString& aSourceBuffer,
|
||||
mTokenizer->start();
|
||||
mLifeCycle = PARSING;
|
||||
mParser = this;
|
||||
mCharsetSource = kCharsetFromOtherComponent;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user