Security error" code: "1000 on Firefox with Canvas.toDataURL
I've got error like jQuery and Canvas.toDataURL
Some user told that might run it on server but I run it on my server not local
开发者_如何学JAVAand still got this 'Security error" code: "1000' error.
Security error" code: "1000
[Break On This Error] data: 'raw='+canvas.toDataURL("image/png", ""),
oh I've found solution just change
toDataURL('image/png', '')
to
toDataURL()
and it run correctly
精彩评论