Comment 0 for bug 172518

Revision history for this message
In , Kevin-noovo (kevin-noovo) wrote :

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ko; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ko; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10

canvas.drawImage is not working in version 2.0.0.10

Please, test following URL. (It is a MDC sample page.)

Test URL : http://developer.mozilla.org/samples/canvas-tutorial/3_1_canvas_drawimage.html

It is display following error message.

"error: uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMCanvasRenderingContext2D.drawImage]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://developer.mozilla.org/samples/canvas-tutorial/3_1_canvas_drawimage.html :: anonymous :: line 12" data: no]"

Reproducible: Always

Steps to Reproduce:
1. goto "http://developer.mozilla.org/samples/canvas-tutorial/3_1_canvas_drawimage.html"
2.
3.
Actual Results:
Image is not displayed and console display error message.

Expected Results:
Image must be displayed.

I think that ctx.drawImage is problem.