W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2011

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 20 Feb 2011 15:06:55 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-12142-2486@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 20 February 2011 15:06:57 GMT