| OLD | NEW |
| 1 This file test the behaviour of getAttribute with regard to case. | 1 This file test the behaviour of getAttribute with regard to case. |
| 2 | 2 |
| 3 See Bug 20247: setAttributeNode() does not work when attribute name has a capita
l letter in it | 3 See Bug 20247: setAttributeNode() does not work when attribute name has a capita
l letter in it |
| 4 | 4 |
| 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 6 | 6 |
| 7 | 7 |
| 8 PASS testGetAttributeCaseInsensitive() is "x" | 8 PASS testGetAttributeCaseInsensitive() is "x" |
| 9 PASS testGetAttributeNodeMixedCase() is "x" | 9 PASS testGetAttributeNodeMixedCase() is "x" |
| 10 PASS testGetAttributeNodeLowerCase() is "x" | 10 PASS testGetAttributeNodeLowerCase() is "x" |
| 11 PASS testSetAttributeNodeKeepsRef() is "1" | 11 PASS testSetAttributeNodeKeepsRef() is "1" |
| 12 PASS testAttribNodeNamePreservesCase() is "A,A" | 12 PASS testAttribNodeNamePreservesCase() is "A,A" |
| 13 PASS testAttribNodeNamePreservesCaseGetNode() is "A,A" | 13 PASS testAttribNodeNamePreservesCaseGetNode() is "A,A" |
| 14 PASS testAttribNodeNamePreservesCaseGetNode2() is "B,B" | 14 PASS testAttribNodeNamePreservesCaseGetNode2() is "B,B" |
| 15 PASS testAttribNodeNameGetMutate() is "1" | 15 PASS testAttribNodeNameGetMutate() is "1" |
| 16 PASS (new XMLSerializer).serializeToString(node) is "<div myAttrib=\"XXX\"></div
>" | 16 PASS (new XMLSerializer).serializeToString(node) is "<div xmlns=\"http://www.w3.
org/1999/xhtml\" myAttrib=\"XXX\"></div>" |
| 17 PASS node.getAttributeNode('myAttrib').name is "myAttrib" | 17 PASS node.getAttributeNode('myAttrib').name is "myAttrib" |
| 18 PASS node.getAttributeNode('myattrib').name is "myAttrib" | 18 PASS node.getAttributeNode('myattrib').name is "myAttrib" |
| 19 PASS attrib.name is "myAttrib" | 19 PASS attrib.name is "myAttrib" |
| 20 PASS successfullyParsed is true | 20 PASS successfullyParsed is true |
| 21 | 21 |
| 22 TEST COMPLETE | 22 TEST COMPLETE |
| 23 | 23 |
| OLD | NEW |