Closed Bug 1688318 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27294 - Create basic CanvasRenderingContext2D.reset test

Categories

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

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Create basic CanvasRenderingContext2D.reset test

Still need to create the following, but I wanted to add a basic one now
just to make sure we don't break the function, like happened here:
https://chromium-review.googlesource.com/c/chromium/src/+/2633345

I created a new file/folder as it didn't neatly fit anywhere else. Some
new tests that need to be added after this one:

  • Path is reset
  • Transformations are cleared
  • Clip is cleared
  • Style becomes default
  • Font also becomes default

Bug: 1131449
Change-Id: I87cf4d221d2603b534b2bbdec70d92679ee7d0bc

Reviewed-on: https://chromium-review.googlesource.com/2645448
WPT-Export-Revision: 2ecd50510020b8b07a1b39780519df372f42de63

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/canvas/element/reset/2d.reset.basic.html
reset clears to transparent black: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9724ead9b2c7
[wpt PR 27294] - Create basic CanvasRenderingContext2D.reset test, a=testonly
https://hg.mozilla.org/integration/autoland/rev/7689eca3c91d
[wpt PR 27294] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.