[wpt-sync] Sync PR 60488 - [ruby-overhang] Fix crash when computing overhang without an open tag
Categories
(Core :: Layout: Ruby, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 60488 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/60488
Details from upstream follow.
Minseong Kim <jja08111@gmail.com> wrote:
[ruby-overhang] Fix crash when computing overhang without an open tag
Fuzzer found a crash that occurs during ruby-overhang calculations when
the layout engine makes a ruby that doesn't have a preceding open tag in
its inline items.So, this CL replaces the DCHECK with a guarding if ruby_index is zero in
GetOverhang.Bug: 520181855
Change-Id: I1f6d460f12c24aadac5e6e5fb052d0a1e68af346Reviewed-on: https://chromium-review.googlesource.com/7902135
WPT-Export-Revision: 8979b1b1fbfd4dbc6928b6d4b2d14debe0735634
| Assignee | ||
Updated•3 days ago
|
| Assignee | ||
Comment 1•3 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=93d1ecde9575afb28b0a481bc3b4884d32f6084c
| Assignee | ||
Comment 2•3 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 164 tests
Status Summary
Firefox
OK : 20
PASS: 1[GitHub] 5[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 78[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 174[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 14[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 57[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
PASS: 1
Safari
PASS: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-ruby/br-clear-all-002.html [wpt.fyi]
- #container 1:
FAIL
- #container 1:
- /css/css-ruby/inheritance.html [wpt.fyi]
- Property ruby-merge has initial value separate:
FAIL - Property ruby-merge inherits:
FAIL - Property ruby-overhang has initial value auto:
FAIL - Property ruby-overhang inherits:
FAIL
- Property ruby-merge has initial value separate:
- /css/css-ruby/line-spacing.html [wpt.fyi]
- Don't Consume half-leading of the previous line with text-emphasis:
FAIL - Don't Consume half-leading of the next line with text-emphasis:
FAIL
- Don't Consume half-leading of the previous line with text-emphasis:
- /css/css-ruby/parsing/ruby-merge-valid.html [wpt.fyi]
- e.style['ruby-merge'] = "separate" should set the property value:
FAIL - e.style['ruby-merge'] = "merge" should set the property value:
FAIL - e.style['ruby-merge'] = "auto" should set the property value:
FAIL
- e.style['ruby-merge'] = "separate" should set the property value:
- /css/css-ruby/parsing/ruby-overhang-valid.html [wpt.fyi]
- e.style['ruby-overhang'] = "auto" should set the property value:
FAIL - e.style['ruby-overhang'] = "none" should set the property value:
FAIL - e.style['ruby-overhang'] = "spaces" should set the property value:
FAIL
- e.style['ruby-overhang'] = "auto" should set the property value:
- /css/css-ruby/parsing/ruby-position-valid.html [wpt.fyi]
- e.style['ruby-position'] = "inter-character" should set the property value:
FAIL
- e.style['ruby-position'] = "inter-character" should set the property value:
- /css/css-ruby/collapse-trailing-whitespace.html [wpt.fyi]:
FAIL - /css/css-ruby/pseudo-first-line.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-annotation-with-margin.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-box-model-001.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-dynamic.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-none.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-001.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-002.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-003.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-004.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-005.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-006.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-007.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-008.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-009.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-010.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-011.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-012.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-013.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-014.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-015.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-016.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-017.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-018.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-019.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-021.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-align-001.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-align-002.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-align-003.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-align-004.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-align-005.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-non-bmp-001.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-non-bmp-002.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-text-spacing-trim-001.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-text-spacing-trim-002.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-vertical-001.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-vertical-002.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-vertical-003.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-vertical-004.html [wpt.fyi]:
FAIL - /css/css-ruby/ruby-overhang-spaces-vertical-005.html [wpt.fyi]:
FAIL - /css/css-ruby/break-within-bases/basic.html [wpt.fyi]:
FAIL - /css/css-ruby/break-within-bases/no-break-opportunity-at-end.html [wpt.fyi]:
FAIL - /css/css-ruby/break-within-bases/nowrap.html [wpt.fyi]:
FAIL
Comment 4•19 hours ago
|
||
| bugherder | ||
Description
•