| Index: third_party/WebKit/LayoutTests/fast/canvas/OffScreenCanvas-invalid-args-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/OffScreenCanvas-invalid-args-expected.txt b/third_party/WebKit/LayoutTests/fast/canvas/OffScreenCanvas-invalid-args-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..31996d9da6d08d6244429ac063e1fb9f252ab306
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/canvas/OffScreenCanvas-invalid-args-expected.txt
|
| @@ -0,0 +1,21 @@
|
| +Tests that the OffScreenCanvas can handle invalid arguments
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +PASS canvas1.width is setWidth-1
|
| +PASS canvas1.height is setHeight-1
|
| +PASS canvas1.width is 0
|
| +PASS canvas1.height is 0
|
| +PASS OffScreenCanvas(-1, -1) throws an exception as expected: TypeError: Failed to construct 'OffScreenCanvas': Value is outside the 'unsigned long' value range.
|
| +PASS canvas3.width is 0
|
| +PASS canvas3.height is 0
|
| +PASS canvas3.width is setWidth-1
|
| +PASS canvas3.height is setHeight-1
|
| +PASS Setting width to -1 throws an exception as expected: TypeError: Failed to set the 'width' property on 'OffScreenCanvas': Value is outside the 'unsigned long' value range.
|
| +PASS Setting width to an object throws an exception as expected: TypeError: Failed to set the 'width' property on 'OffScreenCanvas': Value is not of type 'unsigned long'.
|
| +PASS OffScreenCanvas(object, object) throws an exception as expected: TypeError: Failed to construct 'OffScreenCanvas': Value is not of type 'unsigned long'.
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|