diff --git a/content/xul/document/src/nsXULContentSink.cpp b/content/xul/document/src/nsXULContentSink.cpp index 48d257bd4b27..18f82fd56e1f 100644 --- a/content/xul/document/src/nsXULContentSink.cpp +++ b/content/xul/document/src/nsXULContentSink.cpp @@ -964,7 +964,7 @@ XULContentSinkImpl::OpenTag(const PRUnichar** aAttributes, NS_ASSERTION(mState == eInScript || mState == eInDocumentElement, "Unexpected state"); - if (mState == eInScript) { + if (mState == eInScript || 1) { // OpenScript has pushed the nsPrototypeScriptElement onto the // stack, so we're done. return NS_OK;