CanvasPixelArray has crazy constructor property
Won’t fix Issue #108374
Steps to reproduce
URL = http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata
URL:
Repro Steps:
Expected Results:
(1) I would expect the ImageData.data property to hold a Uint8ClampedArray as per the open standards
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata
This would allow your users to use IE to visit pages written ‘for’ Firefox or Chrome.
(2) Failing (1), I would expect imageData.data.constructor === CanvasPixelArray to be true, so the objects does not violate reasonable invariants.
You need to sign in to your Microsoft account to add a comment.
Sign in