[wpt-sync] Sync PR 31039 - Fix crash for offscreencanvas when setting font to Math
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31039 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31039
Details from upstream follow.
Yi Xu <yiyix@chromium.org> wrote:
Fix crash for offscreencanvas when setting font to Math
ConvertFontSize failed to find a font size for font Math. Created
a special case for offscreencanvas to handle Math.Bug: 1207317
Change-Id: I5256fbecb922cd15521b7e5693ce7f1cbd8880ac
Reviewed-on: https://chromium-review.googlesource.com/3194662
WPT-Export-Revision: ecb1007e70045e42051b0c9e085e822b8eb8304d
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK : 2
FAIL: 2
Chrome
OK : 2
PASS: 2
Safari
OK : 2
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/html/canvas/offscreen/text/2d.text.setFont.mathFont.html
crbug.com/1212190, make sure offscreencanvas doesn't crashh with Math Font: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/offscreen/text/2d.text.setFont.mathFont.worker.html
crbug.com/1212190, make sure offscreencanvas doesn't crashh with Math Font: FAIL (Chrome: PASS, Safari: FAIL)
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/28a2ae4b3cce
https://hg.mozilla.org/mozilla-central/rev/fcd297966dec
Description
•