[Webkit-unassigned] [Bug 28329] New: HTML5 canvas's createImageData should raise the NOT_SUPPORTED_ERR exception when either of the arguments are not finite.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 14 16:11:35 PDT 2009


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

           Summary: HTML5 canvas's createImageData should raise the
                    NOT_SUPPORTED_ERR exception when either of the
                    arguments are not finite.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://philip.html5.org/tests/canvas/suite/tests/2d.im
                    ageData.create.nonfinite.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ben at meyerhome.net


According to
http://www.whatwg.org/specs/web-apps/current-work/#pixel-manipulation:

            "If any of the arguments to createImageData() or getImageData() are
             infinite or NaN, or if the createImageData()  method is invoked
with
             only one argument but that argument is null, the method must
instead
             raise a NOT_SUPPORTED_ERR  exception."

Test page:
http://philip.html5.org/tests/canvas/suite/tests/2d.imageData.create.nonfinite.html

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