Created attachment 186234 [details] repro case 1. Open attached svgtest.html from SVGtoDataURLBug.zip -or- 1. In JavaScript, Create a canvas element 2. use drawImage to draw a new Image() from an SVG source 3. call toDataURL() on the canvas I would expect to get a data URL with png contents of the image. Safari instead reports: SECURITY_ERR: DOM Exception 18: An attempt was made to break through the security policy of the user agent. This affects Tumult Hype: http://tumult.com/hype/
http://code.google.com/p/chromium/issues/detail?id=173868
SVG images are complicated and we're not smart enough to determine whether it's safe to return the result to JavaScript. We're conservative and always throw the exception.
Fixed *** This bug has been marked as a duplicate of bug 119492 ***