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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 This test checks whether passing wrong types to setAttributeNode causes a crash. 1 This test checks whether passing wrong types to setAttributeNode causes a crash.
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.setAttributeNode("style"); threw exception Error: TypeMismatchError : DOM Exception 17. 6 PASS element.setAttributeNode("style"); threw exception TypeMismatchError: The t ype of an object was incompatible with the expected type of the parameter associ ated to the object..
7 PASS element.setAttributeNode(null); threw exception Error: TypeMismatchError: D OM Exception 17. 7 PASS element.setAttributeNode(null); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associate d to the object..
8 PASS element.setAttributeNode(undefined); threw exception Error: TypeMismatchErr or: DOM Exception 17. 8 PASS element.setAttributeNode(undefined); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter asso ciated to the object..
9 PASS element.setAttributeNode(new Object); threw exception Error: TypeMismatchEr ror: DOM Exception 17. 9 PASS element.setAttributeNode(new Object); threw exception TypeMismatchError: Th e type of an object was incompatible with the expected type of the parameter ass ociated to the object..
10 PASS element.removeAttributeNode("style"); threw exception Error: TypeMismatchEr ror: DOM Exception 17. 10 PASS element.removeAttributeNode("style"); threw exception TypeMismatchError: Th e type of an object was incompatible with the expected type of the parameter ass ociated to the object..
11 PASS element.removeAttributeNode(null); threw exception Error: TypeMismatchError : DOM Exception 17. 11 PASS element.removeAttributeNode(null); threw exception TypeMismatchError: The t ype of an object was incompatible with the expected type of the parameter associ ated to the object..
12 PASS element.removeAttributeNode(undefined); threw exception Error: TypeMismatch Error: DOM Exception 17. 12 PASS element.removeAttributeNode(undefined); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter a ssociated to the object..
13 PASS element.removeAttributeNode(new Object); threw exception Error: TypeMismatc hError: DOM Exception 17. 13 PASS element.removeAttributeNode(new Object); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
14 PASS element.setAttributeNodeNS("style"); threw exception Error: TypeMismatchErr or: DOM Exception 17. 14 PASS element.setAttributeNodeNS("style"); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter asso ciated to the object..
15 PASS element.setAttributeNodeNS(null); threw exception Error: TypeMismatchError: DOM Exception 17. 15 PASS element.setAttributeNodeNS(null); threw exception TypeMismatchError: The ty pe of an object was incompatible with the expected type of the parameter associa ted to the object..
16 PASS element.setAttributeNodeNS(undefined); threw exception Error: TypeMismatchE rror: DOM Exception 17. 16 PASS element.setAttributeNodeNS(undefined); threw exception TypeMismatchError: T he type of an object was incompatible with the expected type of the parameter as sociated to the object..
17 PASS element.setAttributeNodeNS(new Object); threw exception Error: TypeMismatch Error: DOM Exception 17. 17 PASS element.setAttributeNodeNS(new Object); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter a ssociated to the object..
18 PASS successfullyParsed is true 18 PASS successfullyParsed is true
19 19
20 TEST COMPLETE 20 TEST COMPLETE
21 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698