I found canvas.toDataURL('image/png') don't work even in IE10. SecurityError IE11 canvas.toDataURL('image/png') It works well in chrome and firefox,but in IE11, it throws an exception:SecurityError