Closed Bug 1699300 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 28123 - Move fillstyle stringification test to wpt

Categories

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

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

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

Move fillstyle stringification test to wpt

canvas-fillStyle-strokeStyle-stringification.html tests behavior that
is specd and works in all browsers. It should be in WPT tests.

Spec:
https://www.w3.org/TR/WebIDL-1/#es-DOMString

Bug: 1187575
Change-Id: Ieefb83b2248bfd482757ea2983faedc2606d0b5b

Reviewed-on: https://chromium-review.googlesource.com/2770360
WPT-Export-Revision: f3fcb5fd495af4d784dade55b94b3529dfdd7aa8

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 3 tests and 1 subtests

Status Summary

Firefox

OK : 3
PASS: 1
FAIL: 2

Chrome

OK : 3
PASS: 3

Safari

OK : 3
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.toStringFunctionCallback.html
Passing a function in to ctx.fillStyle or ctx.strokeStyle with a toString callback works as specified: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.toStringFunctionCallback.worker.html
Passing a function in to ctx.fillStyle or ctx.strokeStyle with a toString callback works as specified: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/63968ce25667
[wpt PR 28123] - Move fillstyle stringification test to wpt, a=testonly
https://hg.mozilla.org/integration/autoland/rev/51ffed0249fd
[wpt PR 28123] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.