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

Side by Side Diff: LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt

Issue 22875013: Make several DOMImplementation API arguments mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix createDocument() args Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 createDocument tests modeled after createElementNS tests from mozilla which were attached to webkit bug 16833 1 createDocument tests modeled after createElementNS tests from mozilla which were attached to webkit bug 16833
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 document.implementation.createDocument().toString() is "[object Document]" 6 PASS document.implementation.createDocument() threw exception TypeError: Not eno ugh arguments.
7 PASS document.implementation.createDocument("http://www.example.com").toString() is "[object Document]" 7 PASS document.implementation.createDocument("http://www.example.com") threw exce ption TypeError: Not enough arguments.
8 PASS createDocument(, , null) 8 PASS createDocument(, , null)
9 PASS createDocument(null, , null) 9 PASS createDocument(null, , null)
10 FAIL createDocument(, null, null) 10 FAIL createDocument(, null, null)
11 FAIL createDocument(null, null, null) 11 FAIL createDocument(null, null, null)
12 FAIL createDocument(null, "", null) 12 FAIL createDocument(null, "", null)
13 FAIL createDocument("", null, null) 13 FAIL createDocument("", null, null)
14 FAIL createDocument("", "", null) 14 FAIL createDocument("", "", null)
15 PASS createDocument(null, "<div>", null); threw INVALID_CHARACTER_ERR 15 PASS createDocument(null, "<div>", null); threw INVALID_CHARACTER_ERR
16 PASS createDocument(null, "0div", null); threw INVALID_CHARACTER_ERR 16 PASS createDocument(null, "0div", null); threw INVALID_CHARACTER_ERR
17 PASS createDocument(null, "di v", null); threw INVALID_CHARACTER_ERR 17 PASS createDocument(null, "di v", null); threw INVALID_CHARACTER_ERR
(...skipping 24 matching lines...) Expand all
42 PASS createDocument("http://example.com/", "xml:test", null); binding xml prefix wrong; threw NAMESPACE_ERR 42 PASS createDocument("http://example.com/", "xml:test", null); binding xml prefix wrong; threw NAMESPACE_ERR
43 PASS createDocument("http://example.com/", "xmlns:test", null); binding xmlns pr efix wrong; threw NAMESPACE_ERR 43 PASS createDocument("http://example.com/", "xmlns:test", null); binding xmlns pr efix wrong; threw NAMESPACE_ERR
44 PASS createDocument("http://www.w3.org/2000/xmlns/", "x:test", null); binding na mespace namespace to wrong prefix; threw NAMESPACE_ERR 44 PASS createDocument("http://www.w3.org/2000/xmlns/", "x:test", null); binding na mespace namespace to wrong prefix; threw NAMESPACE_ERR
45 PASS createDocument("http://www.w3.org/2000/xmlns/", "xmlns:test", null) 45 PASS createDocument("http://www.w3.org/2000/xmlns/", "xmlns:test", null)
46 PASS createDocument("http://www.w3.org/XML/1998/namespace", "xml:test", null) 46 PASS createDocument("http://www.w3.org/XML/1998/namespace", "xml:test", null)
47 PASS createDocument("http://www.w3.org/XML/1998/namespace", "x:test", null) 47 PASS createDocument("http://www.w3.org/XML/1998/namespace", "x:test", null)
48 PASS successfullyParsed is true 48 PASS successfullyParsed is true
49 49
50 TEST COMPLETE 50 TEST COMPLETE
51 51
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698