зеркало из https://github.com/mozilla/pjs.git
Fix stupid error from fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r/sr=jst, a=choffman.
This commit is contained in:
Родитель
255f72aac1
Коммит
c4cd02b8bf
|
@ -1623,9 +1623,9 @@ nsContentUtils::GetNodeInfoFromQName(const nsAString& aNamespaceURI,
|
|||
const PRUnichar* end;
|
||||
qName.EndReading(end);
|
||||
|
||||
nsCOMPtr<nsIAtom> prefix = do_GetAtom(Substring(colon + 1, end));
|
||||
nsCOMPtr<nsIAtom> prefix = do_GetAtom(Substring(qName.get(), colon));
|
||||
|
||||
rv = aNodeInfoManager->GetNodeInfo(Substring(qName.get(), colon), prefix,
|
||||
rv = aNodeInfoManager->GetNodeInfo(Substring(colon + 1, end), prefix,
|
||||
aNamespaceURI, aNodeInfo);
|
||||
}
|
||||
else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче