summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D-expected.txt
blob: 6894f5c036ed528f20745e82bf09e48349b8674e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Tests basic functionalities of offscreenCanvas.getContext on the main thread

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS aCanvas.width is 40
PASS aCanvas.height is 60
PASS aCanvas.width is 110
PASS aCanvas.height is 90
PASS aCanvas.width is 0
PASS ctx = aCanvas.getContext('2d') did not throw exception.
PASS ctx is an instance of OffscreenCanvasRenderingContext2D
PASS ctx2 is null
PASS ctx3 is non-null.
PASS ctx3 == ctx is true
PASS bogusCtx is null
PASS successfullyParsed is true

TEST COMPLETE