Closed Bug 1921340 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 48353 - Raise an exception in Canvas WPT generator for invalid uses of expected

Categories

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

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Raise an exception in Canvas WPT generator for invalid uses of expected

The 'expected' param is currently only supported for non-grid
testharness tests. This parameter adds an image to testharness test
pages that can be used to visually compare the test results with the
expectation. This image however isn't used by the test runner to
automatically validate the test result. As such, its value is quite
limited. Support for this parameter was therefore not extended to
newer features like reference tests and variant tests.

Bug: 364549423
Change-Id: I30a33dd3634cf0d4cd98cc71b224bcdd1b5de3d0
Reviewed-on: https://chromium-review.googlesource.com/5839991
WPT-Export-Revision: 50ba0377baba729630f3a13a9583855ec7c1ba6c

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a08cec6e8504 [wpt PR 48353] - Raise an exception in Canvas WPT generator for invalid uses of expected, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.