Checking in fix for bug 243392. Prevent execution of external script that finishes loading after the page where they came from is unloaded. Patch by peterv@propagandism.org, r=bzbarsky@mit.edu, sr=jst@mozilla.jstenback.com

This commit is contained in:
jst%mozilla.jstenback.com 2004-06-03 19:45:03 +00:00
Родитель 93c2c0680e
Коммит 22d1ba34ce
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -236,7 +236,7 @@ nsContentSink::ScriptAvailable(nsresult aResult,
} else {
mScriptElements.RemoveObjectAt(count - 1);
if (mParser && aWasPending) {
if (mParser && aWasPending && aResult != NS_BINDING_ABORTED) {
// Loading external script failed!. So, resume
// parsing since the parser got blocked when loading
// external script. - Ref. Bug: 94903