mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
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:
parent
028ecead8e
commit
83c519bf89
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user