Bug 164663 - ImageData does not match specification
Summary: ImageData does not match specification
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Brent Fulgham
Depends on:
Reported: 2016-11-11 16:14 PST by Brent Fulgham
Modified: 2016-11-28 12:28 PST (History)
11 users (show)

See Also:

Patch (2.78 KB, patch)
2016-11-14 11:33 PST, Brent Fulgham
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2016-11-11 16:14:24 PST
The HTML Canvas 2D Context spec <https://www.w3.org/TR/2dcontext/> now has:

interface ImageData {
  readonly attribute unsigned long width;
  readonly attribute unsigned long height;
  readonly attribute Uint8ClampedArray data;

We are handling these values as signed in WebCore, so we need to correct them to only accept unsigned values.
Comment 1 Brent Fulgham 2016-11-14 11:33:56 PST
Created attachment 294723 [details]
Comment 2 WebKit Commit Bot 2016-11-28 12:27:57 PST
Comment on attachment 294723 [details]

Clearing flags on attachment: 294723

Committed r209005: <http://trac.webkit.org/changeset/209005>
Comment 3 WebKit Commit Bot 2016-11-28 12:28:03 PST
All reviewed patches have been landed.  Closing bug.