[wpt-sync] Sync PR 63374 - [HiC] Draw nothing and return for non-finite rects
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
76.10 KB,
text/plain
|
Details |
Sync web-platform-tests PR 63374 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63374
Details from upstream follow.
Stephen Chenney <schenney@chromium.org> wrote:
[HiC] Draw nothing and return for non-finite rects
Canvas 2D APIs are all defined to return without drawing when input
sizes or positions are non-finite. Make it so for HTML-in-Canvas APIs.WebGL/GPU APIs in general due not use floats, so do not have prior art
around NaN/Infinity. In that case, throw a DOMException on Nan/Infinity
in src rects.Bug: 565835895
Change-Id: Ic0d303ab9879ce9051821d69c671b5a641a45c27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8506820
Commit-Queue: Stephen Chenney \<schenney@chromium.org>
Reviewed-by: Stefan Zager \<szager@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1713769}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=102037
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 4 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 148 tests and 6 subtests
Status Summary
Firefox
OK : 3[GitHub] 136[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 12
FAIL : 3[GitHub] 236[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 8
NOTRUN : 18
Chrome
OK : 3
PASS : 1
FAIL : 2
Safari
OK : 3
FAIL : 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0cde15fadc92
https://hg.mozilla.org/mozilla-central/rev/ae2f2a051a8f
Description
•