Reset the document's ready state on document initialization in the HTML Parser
This commit is contained in:
@@ -108,6 +108,7 @@
|
||||
if (_document == nil) {
|
||||
_document = [HTMLDocument new];
|
||||
}
|
||||
_document.readyState = HTMLDocumentLoading;
|
||||
_document.quirksMode = HTMLQuirksModeNoQuirks;
|
||||
_document.documentType = nil;
|
||||
[_document removeAllChildNodes];
|
||||
|
||||
Reference in New Issue
Block a user