OLD | NEW |
1 Tests the properties of the SVGException object. | 1 Tests the properties of the SVGException object. |
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 e.toString() is "Error: SVG_INVALID_VALUE_ERR: DOM SVG Exception 1" | 6 PASS e.toString() is "SVG_INVALID_VALUE_ERR: An invalid value was passed to an o
peration or assigned to an attribute." |
7 PASS Object.prototype.toString.call(e) is "[object SVGException]" | 7 PASS Object.prototype.toString.call(e) is "[object SVGException]" |
8 FAIL Object.prototype.toString.call(e.__proto__) should be [object SVGExceptionP
rototype]. Was [object Object]. | 8 FAIL Object.prototype.toString.call(e.__proto__) should be [object SVGExceptionP
rototype]. Was [object Object]. |
9 PASS e.constructor.toString() is "function SVGException() { [native code] }" | 9 PASS e.constructor.toString() is "function SVGException() { [native code] }" |
10 PASS e.constructor is window.SVGException | 10 PASS e.constructor is window.SVGException |
11 PASS e.SVG_WRONG_TYPE_ERR is e.constructor.SVG_WRONG_TYPE_ERR | 11 PASS e.SVG_WRONG_TYPE_ERR is e.constructor.SVG_WRONG_TYPE_ERR |
12 PASS e.SVG_WRONG_TYPE_ERR is 0 | 12 PASS e.SVG_WRONG_TYPE_ERR is 0 |
13 PASS e.SVG_INVALID_VALUE_ERR is e.constructor.SVG_INVALID_VALUE_ERR | 13 PASS e.SVG_INVALID_VALUE_ERR is e.constructor.SVG_INVALID_VALUE_ERR |
14 PASS e.SVG_INVALID_VALUE_ERR is 1 | 14 PASS e.SVG_INVALID_VALUE_ERR is 1 |
15 PASS e.SVG_MATRIX_NOT_INVERTABLE is e.constructor.SVG_MATRIX_NOT_INVERTABLE | 15 PASS e.SVG_MATRIX_NOT_INVERTABLE is e.constructor.SVG_MATRIX_NOT_INVERTABLE |
16 PASS e.SVG_MATRIX_NOT_INVERTABLE is 2 | 16 PASS e.SVG_MATRIX_NOT_INVERTABLE is 2 |
17 PASS successfullyParsed is true | 17 PASS successfullyParsed is true |
18 | 18 |
19 TEST COMPLETE | 19 TEST COMPLETE |
20 | 20 |
OLD | NEW |