Speculative crash fix for <option> owner <selectlist> [chromium/src : main]

0 views
Skip to first unread message

Di Zhang (Gerrit)

unread,
Apr 18, 2024, 4:33:37 PMApr 18
to Joey Arhar, AyeAye, Chromium LUCI CQ, blink-rev...@chromium.org, dpr...@google.com, blink-...@chromium.org
Attention needed from Joey Arhar

Di Zhang voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Joey Arhar
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I336b40e7cc459720922c1487a5870dbef37c7e9b
Gerrit-Change-Number: 5464154
Gerrit-PatchSet: 1
Gerrit-Owner: Joey Arhar <jar...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
Gerrit-Attention: Joey Arhar <jar...@chromium.org>
Gerrit-Comment-Date: Thu, 18 Apr 2024 20:33:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Joey Arhar (Gerrit)

unread,
Apr 18, 2024, 4:45:34 PMApr 18
to Di Zhang, AyeAye, Chromium LUCI CQ, blink-rev...@chromium.org, dpr...@google.com, blink-...@chromium.org

Joey Arhar voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I336b40e7cc459720922c1487a5870dbef37c7e9b
Gerrit-Change-Number: 5464154
Gerrit-PatchSet: 1
Gerrit-Owner: Joey Arhar <jar...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
Gerrit-Comment-Date: Thu, 18 Apr 2024 20:45:22 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Apr 18, 2024, 4:48:58 PMApr 18
to Joey Arhar, Di Zhang, AyeAye, blink-rev...@chromium.org, dpr...@google.com, blink-...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
Speculative crash fix for <option> owner <selectlist>

The attached crash report shows that we are crashing during slot
assignment when changing the child content of an <option>. Slot
assignment should not crash at this time, so I am adding a CHECK() which
should help show whether an element which might be null is null or not.
It also adds a feature check for <selectlist>, because we shouldn't even
be doing a flat tree traversal with slot assignment recalc here when the
<selectlist> flag is disabled.
Fixed: 335599521
Change-Id: I336b40e7cc459720922c1487a5870dbef37c7e9b
Reviewed-by: Di Zhang <dizh...@chromium.org>
Commit-Queue: Joey Arhar <jar...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1289561}
Files:
  • M third_party/blink/renderer/core/html/forms/html_option_element.cc
  • M third_party/blink/renderer/core/html/forms/select_type.cc
Change size: XS
Delta: 2 files changed, 7 insertions(+), 0 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Di Zhang
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I336b40e7cc459720922c1487a5870dbef37c7e9b
Gerrit-Change-Number: 5464154
Gerrit-PatchSet: 2
Gerrit-Owner: Joey Arhar <jar...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages