[wpt-sync] Sync PR 28836 - Update OffscreenCanvas tests to respect [EnforceRange] idl annotation
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox90 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28836 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28836
Details from upstream follow.
b'Chris Lord <clord@igalia.com>' wrote:
Update OffscreenCanvas tests to respect [EnforceRange] idl annotation
At some point, getImageData and OffscreenCanvas width/height properties were updated to use [EnforceRange] (I guess this happened at the same time as the same changes in canvas) - this updates the tests to respect this. There are already range-related tests for getImageData, so 2d.imageData.get.tiny can just be removed, size.attributes.idl I've updated to check that the exceptions are thrown and that setting out of range values has no effect.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK : 2
FAIL: 2
Chrome
OK : 2
PASS: 2
Safari
OK : 2
FAIL: 2
Links
Details
New Tests That Don't Pass
/html/canvas/offscreen/the-offscreen-canvas/size.attributes.idl.html
Getting/setting width/height IDL attributes: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/offscreen/the-offscreen-canvas/size.attributes.idl.worker.html
Getting/setting width/height IDL attributes: FAIL (Chrome: PASS, Safari: FAIL)
Comment 4•5 years ago
|
||
| bugherder | ||
Description
•