[wpt-sync] Sync PR 30197 - Stack-overflow in blink::IsSpaceLike
Categories
(Core :: MathML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox93 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 30197 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/30197
Details from upstream follow.
b'Fr\xc3\xa9d\xc3\xa9ric Wang <fwang@igalia.com>' wrote:
Stack-overflow in blink::IsSpaceLike
The IsSpaceLike and GetCoreOperator functions receive a NGBlockNode node
parameter. When it corresponds to a grouping element or an \<mpadded>
element in the DOM tree, then these functions browse its children,
casting each one to a NGBlockNode. This works for the grouping/\<mpadded>
elements with math display (since they blockify their children) but may
hit "Security DCHECK failed: IsA\<Derived>(from)" for other display
values. To address that issue, an early exit is added in IsSpaceLike
similar to the one that already exists in GetCoreOperator. See [1] for
the related specification discussion.[1] https://github.com/w3c/mathml-core/issues/108
Bug: 1243691, 6606, 1124298
Change-Id: I4ddd4d57b20ffce0e6ef6fd2cf478b8c77363440Reviewed-on: https://chromium-review.googlesource.com/3122134
WPT-Export-Revision: 3c40bf54247298f73c54d7b163fbc3b5b8471eca
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 0 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
Comment 4•5 years ago
|
||
| bugherder | ||
Description
•