Align ImageData constructor with the specification:
It sometimes throws the wrong exception.
Created attachment 324055 [details]
Created attachment 324062 [details]
Comment on attachment 324062 [details]
Clearing flags on attachment: 324062
Committed r223611: <https://trac.webkit.org/changeset/223611>
All reviewed patches have been landed. Closing bug.