Closed Bug 1500734 Opened 2 years ago Closed 2 years ago

createImageBitmap should throw RangeError if sw or sh is 0

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: baku, Assigned: baku)

Details

Attachments

(1 file)

We don't pass some WPTs for this reason.
Attached patch image2.patchSplinter Review
The patch is bigger than 1 line (the real fix) because it contains a fix for a typo in the WPT.
Assignee: nobody → amarchesini
Attachment #9018857 - Flags: review?(aosmond)
Attachment #9018857 - Flags: review?(aosmond) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ce374302821c
createImageBitmap should throw RangeError if sw or sh is 0 - r=aosmond
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13679 for changes under testing/web-platform/tests
https://hg.mozilla.org/mozilla-central/rev/ce374302821c
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.