summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 03:52:02 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 03:52:02 +0000
commita3e90352aef8f1ed778b9cb45c8b33d391fe82c9 (patch)
tree62304101781c3b6ab3f4e2db0664541dc5f2793a /webkit
parent19218eda4a3894c262505cf145d54da327245523 (diff)
downloadchromium_src-a3e90352aef8f1ed778b9cb45c8b33d391fe82c9.zip
chromium_src-a3e90352aef8f1ed778b9cb45c8b33d391fe82c9.tar.gz
chromium_src-a3e90352aef8f1ed778b9cb45c8b33d391fe82c9.tar.bz2
Rebaselined SVG test (win rebaseline does not suffice)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33785 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/data/layout_tests/platform/chromium-mac/LayoutTests/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt
new file mode 100644
index 0000000..5dd556f
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt
@@ -0,0 +1,18 @@
+Tests that an exception is thrown if we try to get a pathSeg for a length out of the bounds of the path itself.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS path.pathSegList.initialize(); threw exception Error: TYPE_MISMATCH_ERR: DOM Exception 17.
+PASS path.getPathSegAtLength(0) is 0
+PASS path.insertItemBefore(null, 0) threw exception TypeError: Object #<an SVGPathElement> has no method 'insertItemBefore'.
+PASS path.replaceItem(null, 0) threw exception TypeError: Object #<an SVGPathElement> has no method 'replaceItem'.
+PASS path.appendItem(null) threw exception TypeError: Object #<an SVGPathElement> has no method 'appendItem'.
+List correctly initialised.
+PASS path.getPathSegAtLength(0) is 0
+PASS path.insertItemBefore(null, 0) threw exception TypeError: Object #<an SVGPathElement> has no method 'insertItemBefore'.
+PASS path.replaceItem(null, 0) threw exception TypeError: Object #<an SVGPathElement> has no method 'replaceItem'.
+PASS path.appendItem(null) threw exception TypeError: Object #<an SVGPathElement> has no method 'appendItem'.
+PASS successfullyParsed is true
+
+TEST COMPLETE