diff --git a/content/xul/document/src/nsXULDocument.cpp b/content/xul/document/src/nsXULDocument.cpp index 4b624597011a..6b345b04e5bb 100644 --- a/content/xul/document/src/nsXULDocument.cpp +++ b/content/xul/document/src/nsXULDocument.cpp @@ -4588,7 +4588,7 @@ nsXULDocument::LoadScript(nsXULPrototypeScript* aScriptProto, PRBool* aBlock) NS_ASSERTION(!mCurrentScriptProto, "still loading a script when starting another load?"); mCurrentScriptProto = aScriptProto; - if (aScriptProto->mSrcLoading) { + if (0 && aScriptProto->mSrcLoading) { // Another XULDocument load has started, which is still in progress. // Remember to ResumeWalk this document when the load completes. mNextSrcLoadWaiter = aScriptProto->mSrcLoadWaiters; @@ -4624,7 +4624,7 @@ nsXULDocument::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader, // from the prototype. nsresult rv; - NS_ASSERTION(mCurrentScriptProto && mCurrentScriptProto->mSrcLoading, + NS_ASSERTION(mCurrentScriptProto /* && mCurrentScriptProto->mSrcLoading */, "script source not loading on unichar stream complete?"); if (NS_SUCCEEDED(aStatus)) { diff --git a/rdf/content/src/nsXULDocument.cpp b/rdf/content/src/nsXULDocument.cpp index 4b624597011a..6b345b04e5bb 100644 --- a/rdf/content/src/nsXULDocument.cpp +++ b/rdf/content/src/nsXULDocument.cpp @@ -4588,7 +4588,7 @@ nsXULDocument::LoadScript(nsXULPrototypeScript* aScriptProto, PRBool* aBlock) NS_ASSERTION(!mCurrentScriptProto, "still loading a script when starting another load?"); mCurrentScriptProto = aScriptProto; - if (aScriptProto->mSrcLoading) { + if (0 && aScriptProto->mSrcLoading) { // Another XULDocument load has started, which is still in progress. // Remember to ResumeWalk this document when the load completes. mNextSrcLoadWaiter = aScriptProto->mSrcLoadWaiters; @@ -4624,7 +4624,7 @@ nsXULDocument::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader, // from the prototype. nsresult rv; - NS_ASSERTION(mCurrentScriptProto && mCurrentScriptProto->mSrcLoading, + NS_ASSERTION(mCurrentScriptProto /* && mCurrentScriptProto->mSrcLoading */, "script source not loading on unichar stream complete?"); if (NS_SUCCEEDED(aStatus)) {