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 21337 - <canvas> createImageData(0,0) and createImageDataHD(0,0) should probably throw IndexSizeError for consistency with getImageData*.
Summary: <canvas> createImageData(0,0) and createImageDataHD(0,0) should probably thro...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-19 15:35 UTC by contributor
Modified: 2013-06-03 23:22 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2013-03-19 15:35:01 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html
Multipage: http://www.whatwg.org/C#dom-context-2d-createimagedata
Complete: http://www.whatwg.org/c#dom-context-2d-createimagedata

Comment:
[canvas] createImageData(0,0) and createImageDataHD(0,0) should probably throw
IndexSizeError for consistency with getImageData*.

Posted from: 212.247.211.195
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.8.3) Presto/2.12.388 Version/12.14
Comment 1 contributor 2013-06-03 23:22:55 UTC
Checked in as WHATWG revision r7888.
Check-in comment: Match reality better
http://html5.org/tools/web-apps-tracker?from=7887&to=7888