Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: third_party/WebKit/LayoutTests/dom/domparsing/xmlserializer-attribute-special-namespaces-expected.txt

Issue 2667303004: Move tests for DOMParser and XMLSerializer to dom/domparsing/. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698