User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:220.127.116.11) Gecko/20100401 Firefox/3.6.3 Build Identifier: When drawing an ImageData object to a canvas using putImageData, NS_ERROR_DOM_SYNTAX_ERR is thrown if the canvas width or height is smaller than the ImageData. Reproducible: Always
Created attachment 443994 [details] Test This is the test case. It works correctly in the latest Safari and Opera releases (all canvases are green).
Created attachment 443995 [details] Test case v2 Fixed some silly problems with HTML structure, and not properly filling the fourth canvas with the initial red color.
Created attachment 443997 [details] Test case v3 Bork bork bork! I should really check what I'm uploading.
Yeah, this was apparently a spec change...
FWIW, the WIP patch in bug 498826 fixes this issue.
Test case v3 is passing at my end (with both Firefox 7.0.1 and with nightly build on Linux). I guess this issue is fixed now.
I also confirmed Test case v3 is all green. Resolving per comment #5 and #6.