| OLD | NEW |
| 1 Tests the serialization of special XML namespaces on attributes, as reported in
bug 395950. | 1 Tests the serialization of special XML namespaces on attributes, as reported in
bug 395950. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS xmlDocument.querySelector("inner1").getAttributeNS("http://www.w3.org/1999/
xlink", "href") is "http://www.google.com" | 6 PASS xmlDocument.querySelector("inner1").getAttributeNS("http://www.w3.org/1999/
xlink", "href") is "http://www.google.com" |
| 7 PASS xmlDocument.querySelector("inner1").getAttributeNS("http://www.w3.org/XML/1
998/namespace", "attr") is "value" | 7 PASS xmlDocument.querySelector("inner1").getAttributeNS("http://www.w3.org/XML/1
998/namespace", "attr") is "value" |
| 8 PASS xmlDocument.querySelector("inner2").getAttributeNS("http://www.w3.org/1999/
xlink", "href") is "http://www.google.com" | 8 PASS xmlDocument.querySelector("inner2").getAttributeNS("http://www.w3.org/1999/
xlink", "href") is "http://www.google.com" |
| 9 PASS xmlDocument.querySelector("inner2").getAttribute("xl:href") is "http://www.
google.com" | 9 PASS xmlDocument.querySelector("inner2").getAttribute("xl:href") is "http://www.
google.com" |
| 10 PASS xmlDocument.querySelector("inner2").getAttributeNS("http://www.w3.org/XML/1
998/namespace", "attr") is "value" | 10 PASS xmlDocument.querySelector("inner2").getAttributeNS("http://www.w3.org/XML/1
998/namespace", "attr") is "value" |
| 11 PASS xmlDocument.querySelector("inner2").getAttribute("xml:attr") is "value" | 11 PASS xmlDocument.querySelector("inner2").getAttribute("xml:attr") is "value" |
| 12 PASS parsedDoc.querySelector("inner1").getAttributeNS("http://www.w3.org/1999/xl
ink", "href") is "http://www.google.com" | 12 PASS parsedDoc.querySelector("inner1").getAttributeNS("http://www.w3.org/1999/xl
ink", "href") is "http://www.google.com" |
| 13 PASS parsedDoc.querySelector("inner1").getAttributeNS("http://www.w3.org/XML/199
8/namespace", "attr") is "value" | 13 PASS parsedDoc.querySelector("inner1").getAttributeNS("http://www.w3.org/XML/199
8/namespace", "attr") is "value" |
| 14 PASS parsedDoc.querySelector("inner2").getAttributeNS("http://www.w3.org/1999/xl
ink", "href") is "http://www.google.com" | 14 PASS parsedDoc.querySelector("inner2").getAttributeNS("http://www.w3.org/1999/xl
ink", "href") is "http://www.google.com" |
| 15 PASS parsedDoc.querySelector("inner2").getAttribute("xl:href") is "http://www.go
ogle.com" | 15 PASS parsedDoc.querySelector("inner2").getAttribute("xl:href") is "http://www.go
ogle.com" |
| 16 PASS parsedDoc.querySelector("inner2").getAttributeNS("http://www.w3.org/XML/199
8/namespace", "attr") is "value" | 16 PASS parsedDoc.querySelector("inner2").getAttributeNS("http://www.w3.org/XML/199
8/namespace", "attr") is "value" |
| 17 PASS parsedDoc.querySelector("inner2").getAttribute("xml:attr") is "value" | 17 PASS parsedDoc.querySelector("inner2").getAttribute("xml:attr") is "value" |
| 18 PASS xmlString.indexOf("xmlns:xml") is -1 | 18 PASS xmlString.indexOf("xmlns:xml") is -1 |
| 19 PASS xmlString.indexOf("xmlns:xlink") is not -1 | 19 PASS xmlString.indexOf("xmlns:xlink") is not -1 |
| 20 PASS xmlString.indexOf("xmlns:xl") is not -1 | 20 PASS xmlString.indexOf("xmlns:xl") is not -1 |
| 21 PASS successfullyParsed is true | 21 PASS successfullyParsed is true |
| 22 | 22 |
| 23 TEST COMPLETE | 23 TEST COMPLETE |
| 24 | 24 |
| OLD | NEW |