Closed Bug 1719737 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29614 - Use RangeError for CanvasRenderingContext2D.roundRect

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 29614 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/29614
Details from upstream follow.

b'Aaron Krajeski <aaronhk@chromium.org>' wrote:

Use RangeError for CanvasRenderingContext2D.roundRect

Bug: 1193694
Change-Id: Id17730a9ac6b088816221ded46648de4185fca14
Reviewed-on: https://chromium-review.googlesource.com/3015806
WPT-Export-Revision: f4566162bc4172de4ef7512200f1b3806e634fe1

PR 29614 applied with additional changes from upstream: b126c12ec26c7fa4cb4b6b6836e45978083d58cd
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 9 tests and 1 subtests

Status Summary

Firefox

OK : 9
FAIL: 9

Chrome

OK : 9
FAIL: 9

Safari

OK : 9
FAIL: 9

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/canvas/element/path-objects/2d.path.roundrect.radius.negative.html
roundRect() with negative radius throws an exception: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.negative.html
roundRect() with negative radius throws an exception: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.radius.none.html
Check that roundRect throws an RangeError if radii is an empty array.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.negative.worker.html
roundRect() with negative radius throws an exception: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.radius.toomany.html
Check that roundRect throws an IndeSizeError if radii has more than four items.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.none.html
Check that roundRect throws an RangeError if radii is an empty array.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.none.worker.html
Check that roundRect throws an RangeError if radii is an empty array.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.toomany.html
Check that roundRect throws an IndeSizeError if radii has more than four items.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/offscreen/path-objects/2d.path.roundrect.radius.toomany.worker.html
Check that roundRect throws an IndeSizeError if radii has more than four items.: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6b5d4b0e570f
[wpt PR 29614] - Use RangeError for CanvasRenderingContext2D.roundRect, a=testonly
https://hg.mozilla.org/integration/autoland/rev/db4e3bd46846
[wpt PR 29614] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c2abeea99f68
[wpt PR 29614] - Use RangeError for CanvasRenderingContext2D.roundRect, a=testonly
https://hg.mozilla.org/integration/autoland/rev/03fec3224774
[wpt PR 29614] - Update wpt metadata, a=testonly
You need to log in before you can comment on or make changes to this bug.