Fixing bug 36308, document.close() didn't release the parser so subsequent document.open calls didn't properly clear the document/old parser.
git-svn-id: svn://10.0.0.236/trunk@68471 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b38da009b4
commit
d24292d0d4
@ -1890,6 +1890,7 @@ nsHTMLDocument::Close()
|
||||
NS_ConvertASCIItoUCS2("text/html"), PR_FALSE, PR_TRUE);
|
||||
mWriteLevel--;
|
||||
mIsWriting = 0;
|
||||
NS_RELEASE(mParser);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
||||
@ -1890,6 +1890,7 @@ nsHTMLDocument::Close()
|
||||
NS_ConvertASCIItoUCS2("text/html"), PR_FALSE, PR_TRUE);
|
||||
mWriteLevel--;
|
||||
mIsWriting = 0;
|
||||
NS_RELEASE(mParser);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user