Closed Bug 1911507 Opened 5 months ago Closed 5 months ago

[wpt-sync] Sync PR 47448 - [layout] Fix null-deref when attempting to mark a scrollbar for layout

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[layout] Fix null-deref when attempting to mark a scrollbar for layout

Custom scrollbar parts are weird in that they don't have a parent.
We'd unconditionally attempt to access their containing block
causing a null-deref.

Fixed: 355016913
Change-Id: I9c32cf7efc00543021111bb3eaa1e8488052264f
Reviewed-on: https://chromium-review.googlesource.com/5760674
WPT-Export-Revision: faa4e25e52834d8a26d81add68594e10fc51a635

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core

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

CRASH: 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/71832f028fa0 [wpt PR 47448] - [layout] Fix null-deref when attempting to mark a scrollbar for layout, a=testonly
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.