summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/canvas/drawImage-with-invalid-args-expected.txt
blob: 5151ddd4025e56d77564c8c81f58eeccacc0c2ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
This test checks behavior of invalid arguments to Canvas::drawImage.

PASS: no arguments, got exception as expected
PASS: image argument only, got exception as expected
PASS: image argument plus one number, got exception as expected
PASS: image argument plus 2 numbers
PASS: image argument plus 4 numbers
PASS: image argument plus 8 numbers
PASS: image argument plus zero size
PASS: image argument plus 8 numbers, zero size
PASS: image argument plus 8 numbers, negative size of source, zero size, got exception as expected
PASS: image argument plus 8 numbers, negative size of destination, zero size, got exception as expected
PASS: image argument plus 8 numbers, negative size of source and destination, zero size, got exception as expected
PASS: null image, got exception as expected
PASS: null image, got exception as expected
PASS: null image, got exception as expected
PASS: null image, got exception as expected
PASS: imageRect does not contain sourceRect on the left side, got exception as expected
PASS: imageRect does not contain sourceRect on the right side, got exception as expected
PASS: imageRect does not contain sourceRect on top, got exception as expected
PASS: imageRect does not contain sourceRect on bottom, got exception as expected
PASS: sourceRect is bigger than imageSource on every side, got exception as expected
PASS: negative size of source, imageRect does not contain sourceRect on the left side, got exception as expected
PASS: negative size of source, imageRect does not contain sourceRect on the right side, got exception as expected
PASS: negative size of source, imageRect does not contain sourceRect on top, got exception as expected
PASS: negative size of source, imageRect does not contain sourceRect on bottom, got exception as expected
PASS: negative size of source, imageRect does not contain sourceRect on every side, got exception as expected
Test complete.