Security error" code: "1000 on Firefox with Canvas.toDataURL

1.9k Views Asked by At

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

There are 1 best solutions below

0
On BEST ANSWER

oh I've found solution just change

toDataURL('image/png', '')

to

toDataURL()

and it run correctly