OLD | NEW |
1 This test checks behavior of Canvas::drawImage with a broken source image. | 1 This test checks behavior of Canvas::drawImage with a broken source image. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS ctx.drawImage(null, 0, 0) threw exception TypeError: Failed to execute 'dra
wImage' on 'CanvasRenderingContext2D': The provided value is not of type '(HTMLI
mageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or Offscreen
Canvas)'. | 6 PASS ctx.drawImage(null, 0, 0) threw exception TypeError: Failed to execute 'dra
wImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSIm
ageValue or HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBi
tmap or OffscreenCanvas)'. |
7 PASS ctx.drawImage(null, 0, 0, 20, 20) threw exception TypeError: Failed to exec
ute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type
'(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or O
ffscreenCanvas)'. | 7 PASS ctx.drawImage(null, 0, 0, 20, 20) threw exception TypeError: Failed to exec
ute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type
'(CSSImageValue or HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or
ImageBitmap or OffscreenCanvas)'. |
8 PASS ctx.drawImage(null, 0, 0, 20, 20, 0, 0, 20, 20) threw exception TypeError:
Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value
is not of type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or Im
ageBitmap or OffscreenCanvas)'. | 8 PASS ctx.drawImage(null, 0, 0, 20, 20, 0, 0, 20, 20) threw exception TypeError:
Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value
is not of type '(CSSImageValue or HTMLImageElement or HTMLVideoElement or HTMLCa
nvasElement or ImageBitmap or OffscreenCanvas)'. |
9 PASS ctx.drawImage(undefined, 0, 0) threw exception TypeError: Failed to execute
'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(
HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or Offs
creenCanvas)'. | 9 PASS ctx.drawImage(undefined, 0, 0) threw exception TypeError: Failed to execute
'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(
CSSImageValue or HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or Im
ageBitmap or OffscreenCanvas)'. |
10 PASS ctx.drawImage(undefined, 0, 0, 20, 20) threw exception TypeError: Failed to
execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of
type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap
or OffscreenCanvas)'. | 10 PASS ctx.drawImage(undefined, 0, 0, 20, 20) threw exception TypeError: Failed to
execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of
type '(CSSImageValue or HTMLImageElement or HTMLVideoElement or HTMLCanvasEleme
nt or ImageBitmap or OffscreenCanvas)'. |
11 PASS ctx.drawImage(undefined, 0, 0, 20, 20, 0, 0, 20, 20) threw exception TypeEr
ror: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided v
alue is not of type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement
or ImageBitmap or OffscreenCanvas)'. | 11 PASS ctx.drawImage(undefined, 0, 0, 20, 20, 0, 0, 20, 20) threw exception TypeEr
ror: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided v
alue is not of type '(CSSImageValue or HTMLImageElement or HTMLVideoElement or H
TMLCanvasElement or ImageBitmap or OffscreenCanvas)'. |
12 PASS ctx.drawImage(invalidImage, 0, 0) threw exception InvalidStateError: Failed
to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement prov
ided is in the 'broken' state.. | 12 PASS ctx.drawImage(invalidImage, 0, 0) threw exception InvalidStateError: Failed
to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement prov
ided is in the 'broken' state.. |
13 PASS ctx.drawImage(invalidImage, 0, 0, 20, 20) threw exception InvalidStateError
: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElem
ent provided is in the 'broken' state.. | 13 PASS ctx.drawImage(invalidImage, 0, 0, 20, 20) threw exception InvalidStateError
: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElem
ent provided is in the 'broken' state.. |
14 PASS ctx.drawImage(invalidImage, 0, 0, 20, 20, 0, 0, 20, 20) threw exception Inv
alidStateError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The
HTMLImageElement provided is in the 'broken' state.. | 14 PASS ctx.drawImage(invalidImage, 0, 0, 20, 20, 0, 0, 20, 20) threw exception Inv
alidStateError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The
HTMLImageElement provided is in the 'broken' state.. |
15 PASS ctx.drawImage(invalidImage, 0, 0, 0, 20) threw exception InvalidStateError:
Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageEleme
nt provided is in the 'broken' state.. | 15 PASS ctx.drawImage(invalidImage, 0, 0, 0, 20) threw exception InvalidStateError:
Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageEleme
nt provided is in the 'broken' state.. |
16 PASS ctx.drawImage(invalidImage, 0, 0, 0, 20, 0, 0, 20, 20) threw exception Inva
lidStateError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The
HTMLImageElement provided is in the 'broken' state.. | 16 PASS ctx.drawImage(invalidImage, 0, 0, 0, 20, 0, 0, 20, 20) threw exception Inva
lidStateError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The
HTMLImageElement provided is in the 'broken' state.. |
17 PASS successfullyParsed is true | 17 PASS successfullyParsed is true |
18 | 18 |
19 TEST COMPLETE | 19 TEST COMPLETE |
20 | 20 |
OLD | NEW |