Security error“ code: ”1000 on Firefox with Canvas.toDataURL

﹥>﹥吖頭↗ 提交于 2020-01-07 05:08:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!