зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
93c2c0680e
Коммит
22d1ba34ce
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче