[wpt-sync] Sync PR 30220 - Clamp the infinity parsed value from html_dimension
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 30220 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/30220
Details from upstream follow.
b'Seokho Song <0xdevssh@gmail.com>' wrote:
Clamp the infinity parsed value from html_dimension
The DCHECK(CSSCalcInfinityAndNaNEnabled() || std::isfinite(num)) in CSSNumericLiteralValue::Create could be failure when html_dimension parse the large number string.
Therefore, add a clamping for html_dimension to prevent infinity CSSNumericLiteralValue creation.
Bug: 1243557
Change-Id: I24a0736d1641a088a5e9f21f3ce4a043d805fa94
Reviewed-on: https://chromium-review.googlesource.com/3121744
WPT-Export-Revision: e4dd0332d1f01850dc7ea03ecf35d30106092aaa
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=52686b5c8db3d42682aec1ff3d434486b512a9a6
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=c7b14083e48ea5bd2940460649b5d2cb9a46a4b5
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
PASS: 1
Safari
PASS: 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34bf1ab6b014 [wpt PR 30220] - Clamp the infinity parsed value from html_dimension, a=testonly
Comment 5•3 years ago
|
||
bugherder |
Description
•