Fixing bug 36308, document.close() didn't release the parser so subsequent document.open calls didn't properly clear the document/old parser.
This commit is contained in:
@@ -1890,6 +1890,7 @@ nsHTMLDocument::Close()
|
||||
NS_ConvertASCIItoUCS2("text/html"), PR_FALSE, PR_TRUE);
|
||||
mWriteLevel--;
|
||||
mIsWriting = 0;
|
||||
NS_RELEASE(mParser);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user