OLD | NEW |
1 Tests whether immutable properties can not be modified. | 1 Tests whether immutable properties can not be modified. |
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 viewport.x is 0 | 6 PASS viewport.x is 0 |
7 PASS viewport.x is 100 | 7 PASS viewport.x is 100 |
8 PASS svgDoc.documentElement.viewport.x is 0 | 8 PASS svgDoc.documentElement.viewport.x is 0 |
9 PASS zoomRectScreen.x is 0 | 9 PASS zoomRectScreen.x is 0 |
10 PASS zoomRectScreen.x = 100; threw exception NoModificationAllowedError: Failed
to set the 'x' property on 'SVGRect': The attribute is read-only.. | 10 PASS zoomRectScreen.x = 100; threw exception NoModificationAllowedError: Failed
to set the 'x' property on 'SVGRect': The attribute is read-only.. |
11 PASS zoomEvent.previousScale is 0 | 11 PASS zoomEvent.previousScale is 0 |
12 PASS zoomEvent.previousScale is 0 | 12 PASS zoomEvent.previousScale is 0 |
13 PASS previousTranslate.x is 0 | 13 PASS previousTranslate.x is 0 |
14 PASS previousTranslate.x is 300 | 14 PASS previousTranslate.x = 300; threw exception NoModificationAllowedError: Fail
ed to set the 'x' property on 'SVGPoint': The attribute is read-only.. |
15 PASS zoomEvent.previousTranslate.x is 0 | 15 PASS zoomEvent.previousTranslate.x is 0 |
16 PASS zoomEvent.newScale is 0 | 16 PASS zoomEvent.newScale is 0 |
| 17 FAIL zoomEvent.newScale = 200; should throw an exception. Was 200. |
17 PASS zoomEvent.newScale is 0 | 18 PASS zoomEvent.newScale is 0 |
18 PASS newTranslate.x is 0 | 19 PASS newTranslate.x is 0 |
19 PASS newTranslate.x is 300 | 20 PASS newTranslate.x = 300; threw exception NoModificationAllowedError: Failed to
set the 'x' property on 'SVGPoint': The attribute is read-only.. |
20 PASS zoomEvent.newTranslate.x is 0 | 21 PASS newTranslate.x is 0 |
21 PASS successfullyParsed is true | 22 PASS successfullyParsed is true |
22 | 23 |
23 TEST COMPLETE | 24 TEST COMPLETE |
24 | 25 |
OLD | NEW |