Bug 178406 - Align ImageData constructor with the specification
Summary: Align ImageData constructor with the specification
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://html.spec.whatwg.org/multipag...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-10-17 13:57 PDT by Chris Dumez
Modified: 2017-10-18 10:02 PDT (History)
13 users (show)

See Also:


Attachments
Patch (6.48 KB, patch)
2017-10-17 14:00 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (14.12 KB, patch)
2017-10-17 14:36 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>