Add comment to explain the fix for bug 243392.

This commit is contained in:
peterv%propagandism.org 2004-08-07 17:25:56 +00:00
Родитель c436b86043
Коммит 790ddd02e0
1 изменённых файлов: 8 добавлений и 3 удалений

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

@ -238,9 +238,14 @@ nsContentSink::ScriptAvailable(nsresult aResult,
mScriptElements.RemoveObjectAt(count - 1);
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
// Loading external script failed!. So, resume parsing since the parser
// got blocked when loading external script. See
// http://bugzilla.mozilla.org/show_bug.cgi?id=94903.
//
// XXX We don't resume parsing if we get NS_BINDING_ABORTED from the
// script load, assuming that that error code means that the user
// stopped the load through some action (like clicking a link). See
// http://bugzilla.mozilla.org/show_bug.cgi?id=243392.
mParser->ContinueParsing();
}
}