Bug 164663

Summary: ImageData does not match specification
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: Layout and RenderingAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: alecflett, beidson, bfulgham, cdumez, commit-queue, dino, esprehn+autocc, gyuyoung.kim, jsbell, kondapallykalyan, simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

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]
Patch
Comment 2 WebKit Commit Bot 2016-11-28 12:27:57 PST
Comment on attachment 294723 [details]
Patch

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.