[Webkit-unassigned] [Bug 39175] New: Properly handle invalid arguments to CanvasRenderingContext2D's getImageData() and putImageData()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 16 03:49:49 PDT 2010


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

           Summary: Properly handle invalid arguments to
                    CanvasRenderingContext2D's getImageData() and
                    putImageData()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andreas.kling at nokia.com


Both should throw NOT_SUPPORTED_ERR when called with nonfinite arguments.
getImageData() should throw INDEX_SIZE_ERR if either width or height is 0.

(HTML5 spec 4.8.11.1.12):
http://www.whatwg.org/specs/web-apps/current-work/#pixel-manipulation

-- 
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