问题
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
and still got this 'Security error" code: "1000' error.
Security error" code: "1000
[Break On This Error] data: 'raw='+canvas.toDataURL("image/png", ""),
回答1:
oh I've found solution just change
toDataURL('image/png', '')
to
toDataURL()
and it run correctly
来源:https://stackoverflow.com/questions/4984431/security-error-code-1000-on-firefox-with-canvas-todataurl