Fixing nsbeta3+ bug 51034. element.getElementsByTagName() was throwing a NS_NOINTERFACE exception to the wrong IID passed to QI. r=kandrot&pollmann

git-svn-id: svn://10.0.0.236/trunk@79061 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com
2000-09-14 04:53:03 +00:00
parent 7106079055
commit 5c4f0fcaeb
2 changed files with 2 additions and 2 deletions

View File

@@ -840,7 +840,7 @@ nsGenericElement::GetElementsByTagName(const nsAReadableString& aTagname,
return NS_ERROR_OUT_OF_MEMORY;
}
return list->QueryInterface(NS_GET_IID(nsIDOMNode), (void **)aReturn);
return list->QueryInterface(NS_GET_IID(nsIDOMNodeList), (void **)aReturn);
}
nsresult