зеркало из https://github.com/mozilla/pjs.git
Fix for bug#6716. For handling multiple <BODY> tags in a document.
(R) rickg, (A) chofmann
This commit is contained in:
Родитель
f227695f86
Коммит
f7a60fdd2e
|
@ -1753,8 +1753,6 @@ HTMLContentSink::OpenBody(const nsIParserNode& aNode)
|
|||
nsIScriptContextOwner* sco = mDocument->GetScriptContextOwner();
|
||||
AddAttributes(aNode,mBody,sco,PR_TRUE);
|
||||
NS_IF_RELEASE(sco);
|
||||
NS_ADDREF(mBody);
|
||||
mCurrentContext->mStackPos++;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -1753,8 +1753,6 @@ HTMLContentSink::OpenBody(const nsIParserNode& aNode)
|
|||
nsIScriptContextOwner* sco = mDocument->GetScriptContextOwner();
|
||||
AddAttributes(aNode,mBody,sco,PR_TRUE);
|
||||
NS_IF_RELEASE(sco);
|
||||
NS_ADDREF(mBody);
|
||||
mCurrentContext->mStackPos++;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче