[Bug 12142] New: 2d.drawImage.wrongtype partially incorrect

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12142

           Summary: 2d.drawImage.wrongtype partially incorrect
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: excors@gmail.com
        ReportedBy: Ms2ger@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org


The test asserts that ctx.drawImage(undefined, 0, 0) throws a TypeError.
However, WebIDL [1] defines that undefined must be converted to null, which
then must cause a TYPE_MISMATCH_ERR to be thrown. [2]

[1] http://dev.w3.org/2006/webapi/WebIDL/#es-interface
[2] http://dev.w3.org/html5/2dcontext/#dom-context-2d-drawimage

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 20 February 2011 15:06:57 UTC