[Webkit-unassigned] [Bug 108755] New: Security DOM Exception with toDataURL of canvas drawn from SVG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 2 12:36:23 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=108755

           Summary: Security DOM Exception with toDataURL of canvas drawn
                    from SVG
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jonathan at tumult.com


Created an attachment (id=186234)
 --> (https://bugs.webkit.org/attachment.cgi?id=186234&action=review)
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/

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list