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

Side by Side Diff: LayoutTests/fast/dom/Element/setAttributeNS-namespace-err-expected.txt

Issue 120373003: Revert of Make arguments to Element methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 setAttributeNS tests adapted from createAttributeNS which in turn were adapted f rom createElementNS tests attached to webkit bug 16833 1 setAttributeNS tests adapted from createAttributeNS which in turn were adapted f rom createElementNS tests 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 element.setAttributeNS() is undefined.
7 PASS element.setAttributeNS("http://www.example.com") is undefined.
8 PASS element.setAttributeNS("http://www.example.com", "foo") is undefined.
6 PASS element.setAttributeNS(undefined, undefined, 'value') 9 PASS element.setAttributeNS(undefined, undefined, 'value')
7 PASS element.setAttributeNS(null, undefined, 'value') 10 PASS element.setAttributeNS(null, undefined, 'value')
8 FAIL element.setAttributeNS(undefined, null, 'value') 11 FAIL element.setAttributeNS(undefined, null, 'value')
9 FAIL element.setAttributeNS(null, null, 'value') 12 FAIL element.setAttributeNS(null, null, 'value')
10 PASS element.setAttributeNS(null, "", 'value'); threw INVALID_CHARACTER_ERR 13 PASS element.setAttributeNS(null, "", 'value'); threw INVALID_CHARACTER_ERR
11 FAIL element.setAttributeNS("", null, 'value') 14 FAIL element.setAttributeNS("", null, 'value')
12 PASS element.setAttributeNS("", "", 'value'); threw INVALID_CHARACTER_ERR 15 PASS element.setAttributeNS("", "", 'value'); threw INVALID_CHARACTER_ERR
13 PASS element.setAttributeNS(null, "<div>", 'value'); threw INVALID_CHARACTER_ERR 16 PASS element.setAttributeNS(null, "<div>", 'value'); threw INVALID_CHARACTER_ERR
14 PASS element.setAttributeNS(null, "0div", 'value'); threw INVALID_CHARACTER_ERR 17 PASS element.setAttributeNS(null, "0div", 'value'); threw INVALID_CHARACTER_ERR
15 PASS element.setAttributeNS(null, "di v", 'value'); threw INVALID_CHARACTER_ERR 18 PASS element.setAttributeNS(null, "di v", 'value'); threw INVALID_CHARACTER_ERR
(...skipping 26 matching lines...) Expand all
42 PASS element.setAttributeNS("http://www.w3.org/2000/xmlns/", "x:test", 'value'); binding namespace namespace to wrong prefix; threw NAMESPACE_ERR 45 PASS element.setAttributeNS("http://www.w3.org/2000/xmlns/", "x:test", 'value'); binding namespace namespace to wrong prefix; threw NAMESPACE_ERR
43 PASS element.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:test", 'valu e') 46 PASS element.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:test", 'valu e')
44 PASS element.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:test", 'value') 47 PASS element.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:test", 'value')
45 PASS element.setAttributeNS("http://www.w3.org/XML/1998/namespace", "x:test", 'v alue') 48 PASS element.setAttributeNS("http://www.w3.org/XML/1998/namespace", "x:test", 'v alue')
46 PASS element.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns", 'value') 49 PASS element.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns", 'value')
47 PASS element.setAttributeNS("http://example.com/", "xmlns", 'value'); threw NAME SPACE_ERR 50 PASS element.setAttributeNS("http://example.com/", "xmlns", 'value'); threw NAME SPACE_ERR
48 PASS successfullyParsed is true 51 PASS successfullyParsed is true
49 52
50 TEST COMPLETE 53 TEST COMPLETE
51 54
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698