Closed Bug 1829903 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 39692 - [RemoveLegacy] Fix crash at subtree root without layout-result.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 39692 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/39692
Details from upstream follow.

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[RemoveLegacy] Fix crash at subtree root without layout-result.

It was possible (with fieldsets) to layout at a subtree root which
didn't undergo layout previously (due to the way children are created).

Check that we have a previous layout result before selecting the subtree
root.

This is due to the new LayoutNewSubtreeRoot logic, and hence added it
under that flag.

Fixed: 1439692
Change-Id: I54eab45b213616f0ad174fbdf0d6cdaf8916c8e0
Reviewed-on: https://chromium-review.googlesource.com/4472060
WPT-Export-Revision: c8bb5695c40a8f0906791a0c6d1e7505c7cb8195

Component: web-platform-tests → Layout
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Try push failed: decision task VVdetU_AQJaVIi_lCftNzg returned error
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 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

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f7dd44eeb342 [wpt PR 39692] - [RemoveLegacy] Fix crash at subtree root without layout-result., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.