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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-attribute-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
(Empty)
1 Tests the serialization of XML namespaces on attributes, as reported in bug 2480 44.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS doc.documentElement.getAttributeNS(null, "attr1") is "value1"
7 PASS doc.documentElement.getAttributeNS("http://www.example.com", "foo") is "bar "
8 PASS doc.documentElement.getAttributeNS("http://www.example.com", "foo2") is "ba r2"
9 PASS doc.documentElement.getAttributeNS("http://www.example.com/ns1", "fizz") is "buzz"
10 PASS doc.documentElement.getAttributeNS("http://www.example.com/ns1", "fizz2") i s "buzz2"
11 PASS doc.documentElement.getAttributeNS("http://www.example.com/ns2", "name") is "value"
12 PASS doc.documentElement.getAttributeNS("http://www.example.com/ns2", "name2") i s "value2"
13 PASS doc.documentElement.getAttributeNS("http://www.w3.org/XML/1998/namespace", "id") is "outer"
14 PASS doc.querySelector("inner").localName is "inner"
15 PASS doc.querySelector("inner").namespaceURI is "http://www.example.com"
16 PASS doc.querySelector("inner").getAttributeNS(null, "id") is "inner"
17 PASS parsedDoc.documentElement.getAttributeNS(null, "attr1") is "value1"
18 PASS parsedDoc.documentElement.getAttributeNS("http://www.example.com", "foo") i s "bar"
19 PASS parsedDoc.documentElement.getAttributeNS("http://www.example.com", "foo2") is "bar2"
20 PASS parsedDoc.documentElement.getAttributeNS("http://www.example.com/ns1", "fiz z") is "buzz"
21 PASS parsedDoc.documentElement.getAttributeNS("http://www.example.com/ns1", "fiz z2") is "buzz2"
22 PASS parsedDoc.documentElement.getAttributeNS("http://www.example.com/ns2", "nam e") is "value"
23 PASS parsedDoc.documentElement.getAttributeNS("http://www.example.com/ns2", "nam e2") is "value2"
24 PASS parsedDoc.documentElement.getAttributeNS("http://www.w3.org/XML/1998/namesp ace", "id") is "outer"
25 PASS parsedDoc.querySelector("inner").localName is "inner"
26 PASS parsedDoc.querySelector("inner").namespaceURI is "http://www.example.com"
27 PASS parsedDoc.querySelector("inner").getAttributeNS(null, "id") is "inner"
28 PASS successfullyParsed is true
29
30 TEST COMPLETE
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698