Closed Bug 1847646 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 41371 - Add new tests for CanvasRenderingContext2D.reset()

Categories

(Core :: Graphics: Canvas2D, task, P4)

task

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kiet Ho <tho22@apple.com> wrote:

Add new tests for CanvasRenderingContext2D.reset()

I'm implementing CanvasRenderingContext2D.reset() in WebKit and I notice the only test for this method doesn't actually check if all drawing states are reset back to their default value, so I wrote new tests to check that.

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core

CI Results

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

Total 89 tests and 1 subtests

Status Summary

Firefox

OK : 86
PASS: 80
FAIL: 9

Chrome

OK : 86
PASS: 83
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fac7a2b2fad8 [wpt PR 41371] - Add new tests for CanvasRenderingContext2D.reset(), a=testonly https://hg.mozilla.org/integration/autoland/rev/aac71a67a36f [wpt PR 41371] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.