Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: LayoutTests/fast/canvas/drawImage-with-broken-image-expected.txt

Issue 703783004: Use CanvasImageSource union type instead of overloading (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: don't append canvases to document.body Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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': No function was found that matched the si gnature provided.. 6 PASS ctx.drawImage(null, 0, 0) threw exception TypeError: Failed to execute 'dra wImage' on 'CanvasRenderingContext2D': Not a valid union member..
7 PASS ctx.drawImage(null, 0, 0, 20, 20) threw exception TypeError: Failed to exec ute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matche d the signature provided.. 7 PASS ctx.drawImage(null, 0, 0, 20, 20) threw exception TypeError: Failed to exec ute 'drawImage' on 'CanvasRenderingContext2D': Not a valid union member..
8 PASS ctx.drawImage(null, 0, 0, 20, 20, 0, 0, 20, 20) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was fou nd that matched the signature provided.. 8 PASS ctx.drawImage(null, 0, 0, 20, 20, 0, 0, 20, 20) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Not a valid union m ember..
9 PASS ctx.drawImage(undefined, 0, 0) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matched t he signature provided.. 9 PASS ctx.drawImage(undefined, 0, 0) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Not a valid union member..
10 PASS ctx.drawImage(undefined, 0, 0, 20, 20) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that m atched the signature provided.. 10 PASS ctx.drawImage(undefined, 0, 0, 20, 20) threw exception TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Not a valid union member..
11 PASS ctx.drawImage(undefined, 0, 0, 20, 20, 0, 0, 20, 20) threw exception TypeEr ror: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function wa s found that matched the signature provided.. 11 PASS ctx.drawImage(undefined, 0, 0, 20, 20, 0, 0, 20, 20) threw exception TypeEr ror: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': Not a valid un ion member..
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
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-pattern-behaviour-expected.txt ('k') | Source/core/frame/ImageBitmapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698