Index: LayoutTests/svg/dom/SVGViewSpec-defaults-expected.txt |
diff --git a/LayoutTests/svg/dom/SVGViewSpec-defaults-expected.txt b/LayoutTests/svg/dom/SVGViewSpec-defaults-expected.txt |
index 0d11d26efbdf06c9b76aae6d7a0f275df5232154..fda9f5ce7b1fd8b142983afe243383efde7910d9 100644 |
--- a/LayoutTests/svg/dom/SVGViewSpec-defaults-expected.txt |
+++ b/LayoutTests/svg/dom/SVGViewSpec-defaults-expected.txt |
@@ -21,17 +21,17 @@ PASS currentView.viewTargetString is "" |
PASS currentView.zoomAndPan is SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY |
Try changing zoomAndPan - none of these will work, as SVGViewSpec is fully readonly - even the animated properties it inherits from parent classes like SVGZoomAndPan/SVGFitToViewBox |
-PASS currentView.zoomAndPan = SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE threw exception Error: NoModificationAllowedError: DOM Exception 7. |
+PASS currentView.zoomAndPan = SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed.. |
PASS currentView.zoomAndPan is SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY |
Try changing viewBox - this has no affect on the SVGSVGElement the viewSpec belongs to - it exposed all its properties as read-only |
-PASS currentView.viewBox.baseVal.x = 10 threw exception Error: NoModificationAllowedError: DOM Exception 7. |
+PASS currentView.viewBox.baseVal.x = 10 threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed.. |
PASS currentView.viewBox.baseVal.x is 0 |
-PASS currentView.viewBox.baseVal.y = 20 threw exception Error: NoModificationAllowedError: DOM Exception 7. |
+PASS currentView.viewBox.baseVal.y = 20 threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed.. |
PASS currentView.viewBox.baseVal.y is 0 |
-PASS currentView.viewBox.baseVal.width = 50 threw exception Error: NoModificationAllowedError: DOM Exception 7. |
+PASS currentView.viewBox.baseVal.width = 50 threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed.. |
PASS currentView.viewBox.baseVal.width is 0 |
-PASS currentView.viewBox.baseVal.height = 100 threw exception Error: NoModificationAllowedError: DOM Exception 7. |
+PASS currentView.viewBox.baseVal.height = 100 threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed.. |
PASS currentView.viewBox.baseVal.height is 0 |
PASS currentView.viewBoxString is "0 0 0 0" |
@@ -40,9 +40,9 @@ PASS currentView.viewBoxString = '1 2 3 4' is "1 2 3 4" |
PASS currentView.viewBoxString is "0 0 0 0" |
Try changing preserveAspectRatio |
-PASS currentView.preserveAspectRatio.baseVal.align = SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN threw exception Error: NoModificationAllowedError: DOM Exception 7. |
+PASS currentView.preserveAspectRatio.baseVal.align = SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed.. |
PASS currentView.preserveAspectRatio.baseVal.align is SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID |
-PASS currentView.preserveAspectRatio.baseVal.meetOrSlice = SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE threw exception Error: NoModificationAllowedError: DOM Exception 7. |
+PASS currentView.preserveAspectRatio.baseVal.meetOrSlice = SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed.. |
PASS currentView.preserveAspectRatio.baseVal.meetOrSlice is SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET |
Try changing preserveAspectRatioString |
@@ -62,7 +62,7 @@ PASS currentView.viewTargetString = '#test' is "#test" |
PASS currentView.viewTargetString is "" |
Try changing transform |
-PASS currentView.transform.clear() threw exception Error: NoModificationAllowedError: DOM Exception 7. |
+PASS currentView.transform.clear() threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed.. |
PASS currentView.transform.numberOfItems is 0 |
PASS successfullyParsed is true |