createImageBitmap should throw RangeError if sw or sh is 0

RESOLVED FIXED in Firefox 65

Status

()

enhancement
RESOLVED FIXED
10 months ago
5 months ago

People

(Reporter: baku, Assigned: baku)

Tracking

unspecified
mozilla65
Points:
---

Firefox Tracking Flags

(firefox65 fixed)

Details

Attachments

(1 attachment)

We don't pass some WPTs for this reason.
Posted 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: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Upstream PR merged
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.