| Index: third_party/WebKit/LayoutTests/svg/custom/script-tests/immutable-properties.js
|
| diff --git a/third_party/WebKit/LayoutTests/svg/custom/script-tests/immutable-properties.js b/third_party/WebKit/LayoutTests/svg/custom/script-tests/immutable-properties.js
|
| index d0c14ac55bf645b21bf639b53fe224583380654c..8d6db64e44557dccb04266d40086316d2996d18b 100644
|
| --- a/third_party/WebKit/LayoutTests/svg/custom/script-tests/immutable-properties.js
|
| +++ b/third_party/WebKit/LayoutTests/svg/custom/script-tests/immutable-properties.js
|
| @@ -11,38 +11,4 @@ viewport.x = 100;
|
| shouldBe("viewport.x", "100");
|
| shouldBe("svgDoc.documentElement.viewport.x", "0");
|
|
|
| -// Every attribute of SVGZoomEvent is immutable (Spec: The object itself and its contents are both readonly.)
|
| -var zoomEvent = svgDoc.createEvent("SVGZoomEvents");
|
| -
|
| -// 'zoomRectScreen' property
|
| -var zoomRectScreen = zoomEvent.zoomRectScreen;
|
| -
|
| -shouldBe("zoomRectScreen.x", "0");
|
| -shouldThrow("zoomRectScreen.x = 100;");
|
| -
|
| -// 'previousScale' property
|
| -shouldBe("zoomEvent.previousScale", "0")
|
| -zoomEvent.previousScale = 200;
|
| -shouldBe("zoomEvent.previousScale", "0")
|
| -
|
| -// 'previousTranslate' property
|
| -var previousTranslate = zoomEvent.previousTranslate;
|
| -
|
| -shouldBe("previousTranslate.x", "0");
|
| -shouldThrow("previousTranslate.x = 300;");
|
| -
|
| -shouldBe("zoomEvent.previousTranslate.x", "0");
|
| -
|
| -// 'newScale' property
|
| -shouldBe("zoomEvent.newScale", "0");
|
| -shouldThrow("zoomEvent.newScale = 200;");
|
| -shouldBe("zoomEvent.newScale", "0");
|
| -
|
| -// 'newTranslate' property
|
| -var newTranslate = zoomEvent.newTranslate;
|
| -
|
| -shouldBe("newTranslate.x", "0");
|
| -shouldThrow("newTranslate.x = 300;");
|
| -shouldBe("newTranslate.x", "0");
|
| -
|
| var successfullyParsed = true;
|
|
|