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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user