Closed Bug 1846834 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 41297 - Update beginLayer to accept parameters via an option dictionary.

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 41297 into mozilla-central (this bug is closed when the sync is complete).

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

Jean-Philippe Gravel <jpgravel@chromium.org> wrote:

Update beginLayer to accept parameters via an option dictionary.

This will allow for future extensions, allowing new parameters to be
added if we ever need to. This is the recommended JavaScript API
design, as described here:
https://w3ctag.github.io/design-principles/#prefer-dictionaries

Bug: 1396372
Change-Id: Ib5f51a2a1f26923b4caf65817ae549f11e45d4f2
Reviewed-on: https://chromium-review.googlesource.com/4743223
WPT-Export-Revision: fa77b29cf3140f45c94566e0b13a88c900b3830d

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

CI Results

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

Total 106 tests and 1 subtests

Status Summary

Firefox

OK : 37
PASS : 8
FAIL : 74
TIMEOUT: 24

Chrome

OK : 37
PASS : 31
FAIL : 75

Safari

OK : 37
PASS : 8
FAIL : 74
TIMEOUT: 24

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by ctuns@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/454d07cfd5b6 [wpt PR 41297] - Update beginLayer to accept parameters via an option dictionary., a=testonly https://hg.mozilla.org/mozilla-central/rev/64555c61c649 [wpt PR 41297] - 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.