зеркало из https://github.com/mozilla/pjs.git
bug 319123: document.close in an external script that is being document.written doesn't close the document and leaks parsers and content sinks and documents. r+sr=jst
This commit is contained in:
Родитель
1aec3ad260
Коммит
0f647ebff2
|
@ -2149,6 +2149,7 @@ nsHTMLDocument::Close()
|
|||
}
|
||||
--mWriteLevel;
|
||||
mIsWriting = 0;
|
||||
mParser->Terminate();
|
||||
mParser = nsnull;
|
||||
|
||||
// XXX Make sure that all the document.written content is
|
||||
|
|
Загрузка…
Ссылка в новой задаче