[Webkit-unassigned] [Bug 49369] New: Philip Canvas test 2d.drawImage.wrongtype fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 11 01:16:17 PST 2010


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

           Summary: Philip Canvas test 2d.drawImage.wrongtype fails
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://philip.html5.org/tests/canvas/suite/tests/2d.dr
                    awImage.wrongtype.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: helder at sencha.com
                CC: excors at gmail.com, mdelaney at apple.com


According to the spec (http://philip.html5.org/tests/canvas/suite/tests/spec.html#testrefs.2d.drawImage.type), if the image is of the wrong type, the implementation must raise a TYPE_MISMATCH_ERR exception.  For this reason, I think this test is inconsistent with the spec, since it checks if the exception raised is an instance of TypeError instead.  It is also inconsistent with the 2d.drawImage.null.html test (see Bug 49368 which fixes it).

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