Security Error Code: 1000 on Firefox with Canvas.toDataURL

I have an error like jQuery and Canvas.toDataURL

Some user said that he can run it on the server but I do not run it on my server locally

and still got the code "Security Error": error "1000".

Security Error "code:" 1000

[Break On This Error]: "raw = '+ canvas.toDataURL (" image / png "," "),

0
source share
1 answer

oh I found a solution just change

toDataURL('image/png', '') 

to

 toDataURL() 

and it works correctly

+3
source

All Articles