This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12787 - 2D canvas createPattern(null, ...) should raise TypeError, not TYPE_MISMATCH_ERR
Summary: 2D canvas createPattern(null, ...) should raise TypeError, not TYPE_MISMATCH_ERR
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ms2ger
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-25 20:46 UTC by Andreas Kling
Modified: 2011-09-01 10:04 UTC (History)
5 users (show)

See Also:


Attachments

Description Andreas Kling 2011-05-25 20:46:35 UTC
In accordance with Web IDL, CanvasRenderingContext2D createPattern(null, ...) should raise TypeError and not TYPE_MISMATCH_ERR.
Comment 1 Andreas Kling 2011-05-25 20:59:44 UTC
Oops, forgot to mention this is with regard to the 2d.pattern.image.null.html test in Philip Taylor's canvas test suite.
Comment 2 Ms2ger 2011-06-14 07:45:42 UTC
createPattern, createImageData, putImageData as well.
Comment 3 Cameron McCormack 2011-06-14 10:43:19 UTC
I think this was fixed by bug 10640.
Comment 4 Ms2ger 2011-08-10 20:07:47 UTC
http://dvcs.w3.org/hg/html/rev/9869aaee0eb6

Philip or Cameron, could you review?
Comment 5 Ms2ger 2011-09-01 10:01:49 UTC
Cameron approved.