зеркало из https://github.com/mozilla/pjs.git
r=vidur. Fix for bug 9075. Return NS_OK instead of NS_ERROR_NOT_IMPLEMENTED from nsXMLDocument::GetDocType(). This allows script parsing to continue after a document.doctype JS statement is encountered.
This commit is contained in:
Родитель
81b34c115e
Коммит
0db470912b
|
@ -353,7 +353,7 @@ nsXMLDocument::GetDoctype(nsIDOMDocumentType** aDocumentType)
|
|||
{
|
||||
// XXX TBI
|
||||
*aDocumentType = nsnull;
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
|
@ -353,7 +353,7 @@ nsXMLDocument::GetDoctype(nsIDOMDocumentType** aDocumentType)
|
|||
{
|
||||
// XXX TBI
|
||||
*aDocumentType = nsnull;
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче