diff options
author | mkwst@chromium.org <mkwst@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-09-18 14:54:39 +0000 |
---|---|---|
committer | mkwst@chromium.org <mkwst@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-09-18 14:54:39 +0000 |
commit | f8d4928aba6f0cd3b7fa71b456b8a264da956f53 (patch) | |
tree | a5e02d86c4414517203e0f8246337ac9da93b7cf /third_party/WebKit/LayoutTests/fast/canvas/canvas-overloads-strokeText-expected.txt | |
parent | e28ddd8168cad55a404970e52b651c45652692fb (diff) | |
download | chromium_src-f8d4928aba6f0cd3b7fa71b456b8a264da956f53.zip chromium_src-f8d4928aba6f0cd3b7fa71b456b8a264da956f53.tar.gz chromium_src-f8d4928aba6f0cd3b7fa71b456b8a264da956f53.tar.bz2 |
Improve generated "Not enough arguments." TypeError exceptions.
BUG=270033
Review URL: https://chromiumcodereview.appspot.com/24203002
git-svn-id: svn://svn.chromium.org/blink/trunk@157966 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.txt | 6 |
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 d217251..a7ecdfa 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 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() threw exception TypeError: Failed to execute 'strokeText' on 'CanvasRenderingContext2D': 3 arguments required, but only 0 present.. +PASS ctx.strokeText('moo') threw exception TypeError: Failed to execute 'strokeText' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 present.. +PASS ctx.strokeText('moo',0) threw exception TypeError: Failed to execute 'strokeText' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 present.. 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 |