OLD | NEW |
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 |
OLD | NEW |