Bug 178406

Summary: Align ImageData constructor with the specification
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, cdumez, commit-queue, darin, dino, esprehn+autocc, gyuyoung.kim, kondapallykalyan, sabouhallawa, sam, simon.fraser, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://html.spec.whatwg.org/multipage/canvas.html#dom-imagedata
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Dumez 2017-10-17 13:57:06 PDT
Align ImageData constructor with the specification:
- https://html.spec.whatwg.org/multipage/canvas.html#dom-imagedata

It sometimes throws the wrong exception.
Comment 1 Chris Dumez 2017-10-17 14:00:23 PDT
Created attachment 324055 [details]
Patch
Comment 2 Chris Dumez 2017-10-17 14:36:29 PDT
Created attachment 324062 [details]
Patch
Comment 3 WebKit Commit Bot 2017-10-18 09:59:56 PDT
Comment on attachment 324062 [details]
Patch

Clearing flags on attachment: 324062

Committed r223611: <https://trac.webkit.org/changeset/223611>
Comment 4 WebKit Commit Bot 2017-10-18 09:59:57 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2017-10-18 10:02:10 PDT
<rdar://problem/35053799>