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

Side by Side Diff: LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt

Issue 740223003: Revive tests for Document.createAttributeNS() and Element.setAttributeNodeNS() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: deprecation messages Created 6 years, 1 month 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 CONSOLE WARNING: 'Element.setAttributeNodeNS' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom).
1 This test checks whether passing wrong types to setAttributeNode causes a crash. 2 This test checks whether passing wrong types to setAttributeNode causes a crash.
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
6 PASS element.setAttributeNode("style"); threw exception TypeMismatchError: Faile d to execute 'setAttributeNode' on 'Element': The 1st argument provided is eithe r null, or an invalid Attr object.. 7 PASS element.setAttributeNode("style"); threw exception TypeMismatchError: Faile d to execute 'setAttributeNode' on 'Element': The 1st argument provided is eithe r null, or an invalid Attr object..
7 PASS element.setAttributeNode(null); threw exception TypeMismatchError: Failed t o execute 'setAttributeNode' on 'Element': The 1st argument provided is either n ull, or an invalid Attr object.. 8 PASS element.setAttributeNode(null); threw exception TypeMismatchError: Failed t o execute 'setAttributeNode' on 'Element': The 1st argument provided is either n ull, or an invalid Attr object..
8 PASS element.setAttributeNode(undefined); threw exception TypeMismatchError: Fai led to execute 'setAttributeNode' on 'Element': The 1st argument provided is eit her null, or an invalid Attr object.. 9 PASS element.setAttributeNode(undefined); threw exception TypeMismatchError: Fai led to execute 'setAttributeNode' on 'Element': The 1st argument provided is eit her null, or an invalid Attr object..
9 PASS element.setAttributeNode(new Object); threw exception TypeMismatchError: Fa iled to execute 'setAttributeNode' on 'Element': The 1st argument provided is ei ther null, or an invalid Attr object.. 10 PASS element.setAttributeNode(new Object); threw exception TypeMismatchError: Fa iled to execute 'setAttributeNode' on 'Element': The 1st argument provided is ei ther null, or an invalid Attr object..
10 PASS element.removeAttributeNode("style"); threw exception TypeMismatchError: Fa iled to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object.. 11 PASS element.removeAttributeNode("style"); threw exception TypeMismatchError: Fa iled to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
11 PASS element.removeAttributeNode(null); threw exception TypeMismatchError: Faile d to execute 'removeAttributeNode' on 'Element': The 1st argument provided is ei ther null, or an invalid Attr object.. 12 PASS element.removeAttributeNode(null); threw exception TypeMismatchError: Faile d to execute 'removeAttributeNode' on 'Element': The 1st argument provided is ei ther null, or an invalid Attr object..
12 PASS element.removeAttributeNode(undefined); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object.. 13 PASS element.removeAttributeNode(undefined); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
13 PASS element.removeAttributeNode(new Object); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object.. 14 PASS element.removeAttributeNode(new Object); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
15 PASS element.setAttributeNodeNS("style"); threw exception TypeMismatchError: Fai led to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is e ither null, or an invalid Attr object..
16 PASS element.setAttributeNodeNS(null); threw exception TypeMismatchError: Failed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is eith er null, or an invalid Attr object..
17 PASS element.setAttributeNodeNS(undefined); threw exception TypeMismatchError: F ailed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
18 PASS element.setAttributeNodeNS(new Object); threw exception TypeMismatchError: Failed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided i s either null, or an invalid Attr object..
14 PASS successfullyParsed is true 19 PASS successfullyParsed is true
15 20
16 TEST COMPLETE 21 TEST COMPLETE
17 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698