зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1212867 - Node.isEqualNode() should ignore internal subsets; r=bz
This commit is contained in:
Родитель
ff1a4162cc
Коммит
97bf22c73e
|
@ -1074,13 +1074,6 @@ nsINode::IsEqualNode(nsINode* aOther)
|
|||
if (!string1.Equals(string2)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Internal subset
|
||||
docType1->GetInternalSubset(string1);
|
||||
docType2->GetInternalSubset(string2);
|
||||
if (!string1.Equals(string2)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@ support-files =
|
|||
[test_Document-createElement-namespace.html.json]
|
||||
[test_Document-createElementNS.html.json]
|
||||
[test_Document-getElementsByTagName.html.json]
|
||||
[test_Node-isEqualNode.xhtml.json]
|
||||
[test_Node-properties.html.json]
|
||||
[test_attributes.html.json]
|
||||
[test_case.html.json]
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"isEqualNode should return true when only the internal subsets of DocumentTypes differ.": true
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
[Node-isEqualNode.xhtml]
|
||||
type: testharness
|
||||
[isEqualNode should return true when only the internal subsets of DocumentTypes differ.]
|
||||
expected: FAIL
|
||||
|
Загрузка…
Ссылка в новой задаче