summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/canvas/canvas-overloads-strokeText-expected.txt
diff options
context:
space:
mode:
authorabarth@webkit.org <abarth@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2011-06-20 23:54:07 +0000
committerabarth@webkit.org <abarth@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2011-06-20 23:54:07 +0000
commitd633387a5b474d27289aa6df3555cef776462045 (patch)
tree16bf06501a295848b2c5f905f45e4af490751c47 /third_party/WebKit/LayoutTests/fast/canvas/canvas-overloads-strokeText-expected.txt
parent81efb9e6a550269051534932edbbf70e06b4cdbe (diff)
downloadchromium_src-d633387a5b474d27289aa6df3555cef776462045.zip
chromium_src-d633387a5b474d27289aa6df3555cef776462045.tar.gz
chromium_src-d633387a5b474d27289aa6df3555cef776462045.tar.bz2
2011-06-20 Mark Pilgrim <pilgrim@chromium.org>
Reviewed by Adam Barth. IDL generator should throw TypeError instead of SyntaxError on not enough arguments https://bugs.webkit.org/show_bug.cgi?id=63011 To align with WebIDL, we should throw TypeError whenever a function is called with missing required arguments. * fast/canvas/canvas-overloads-drawImageFromRect-expected.txt: * fast/canvas/canvas-overloads-fillText-expected.txt: * fast/canvas/canvas-overloads-strokeText-expected.txt: * fast/canvas/script-tests/canvas-overloads-drawImageFromRect.js: * fast/canvas/script-tests/canvas-overloads-fillText.js: * fast/canvas/script-tests/canvas-overloads-strokeText.js: * fast/canvas/webgl/data-view-test-expected.txt: * http/tests/xmlhttprequest/exceptions-expected.txt: * platform/chromium-mac/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt: * platform/chromium-win/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt: * svg/dom/SVGAngle-expected.txt: * svg/dom/SVGColor-expected.txt: * svg/dom/SVGLength-expected.txt: * svg/dom/SVGLengthList-basics-expected.txt: * svg/dom/SVGMatrix-expected.txt: * svg/dom/SVGNumberList-basics-expected.txt: * svg/dom/SVGPaint-expected.txt: * svg/dom/SVGPoint-expected.txt: * svg/dom/SVGPointList-basics-expected.txt: * svg/dom/SVGStringList-basics-expected.txt: * svg/dom/SVGTransform-expected.txt: * svg/dom/SVGTransformList-basics-expected.txt: * svg/dom/SVGTransformList-expected.txt: * svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt: 2011-06-20 Mark Pilgrim <pilgrim@chromium.org> Reviewed by Adam Barth. IDL generator should throw TypeError instead of SyntaxError on not enough arguments https://bugs.webkit.org/show_bug.cgi?id=63011 To align with WebIDL, we should throw TypeError whenever a function is called with missing required arguments. * bindings/scripts/CodeGeneratorJS.pm: * bindings/scripts/CodeGeneratorV8.pm: * bindings/scripts/test/V8/V8TestObj.cpp: (WebCore::TestObjInternal::methodThatRequiresAllArgsAndThrowsCallback): git-svn-id: svn://svn.chromium.org/blink/trunk@89315 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/canvas/canvas-overloads-strokeText-expected.txt')
-rw-r--r--third_party/WebKit/LayoutTests/fast/canvas/canvas-overloads-strokeText-expected.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-overloads-strokeText-expected.txt b/third_party/WebKit/LayoutTests/fast/canvas/canvas-overloads-strokeText-expected.txt
index fa5c6f8..d217251 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-overloads-strokeText-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-overloads-strokeText-expected.txt
@@ -3,9 +3,9 @@ Test the behavior of CanvasRenderingContext2D.strokeText() when called with diff
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS ctx.strokeText() threw exception SyntaxError: Not enough arguments.
-PASS ctx.strokeText('moo') threw exception SyntaxError: Not enough arguments.
-PASS ctx.strokeText('moo',0) threw exception SyntaxError: Not enough arguments.
+PASS ctx.strokeText() threw exception TypeError: Not enough arguments.
+PASS ctx.strokeText('moo') threw exception TypeError: Not enough arguments.
+PASS ctx.strokeText('moo',0) threw exception TypeError: Not enough arguments.
PASS ctx.strokeText('moo',0,0) is undefined
PASS ctx.strokeText('moo',0,0,0) is undefined
PASS ctx.strokeText('moo',0,0,0,0) is undefined