Skip to content

Commit

Permalink
Bug 1928137 [wpt PR 48886] - Prevent infinite loop in nested customiz…
Browse files Browse the repository at this point in the history
…able selects, a=testonly

Automatic update from web-platform-tests
Prevent infinite loop in nested customizable selects

Nesting selects with <selectedoption> elements can lead to infinite
cloning. By preventing the nested select's <selectedoption> from doing
any cloning, the infinite loop is fixed.

Fixed: 373893049
Change-Id: I9c493be5dfc1dd51c3d3aa2e10ee2a1d2f27d071
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5939531
Reviewed-by: Traian Captan <tcaptanchromium.org>
Commit-Queue: Joey Arhar <jarharchromium.org>
Cr-Commit-Position: refs/heads/main{#1375888}

--

wpt-commits: c332da54a2e24b488c538cfd5b036763304bb1fc
wpt-pr: 48886

UltraBlame original commit: 2340441d4d5d7ea1a96dc5a2a54562c2a9f114d4
  • Loading branch information
marco-c committed Nov 1, 2024
1 parent 46e220c commit 8d4f402
Showing 1 changed file with 153 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
<
!
DOCTYPE
html
>
<
link
rel
=
author
href
=
"
mailto
:
jarhar
chromium
.
org
"
>
<
link
rel
=
help
href
=
"
https
:
/
/
issues
.
chromium
.
org
/
issues
/
373893049
"
>
<
style
>
select
:
:
picker
(
select
)
{
appearance
:
base
-
select
;
}
<
/
style
>
<
select
>
<
button
>
Hello
?
?
<
selectedoption
/
>
<
/
button
>
<
option
>
<
object
type
=
"
no
/
type
"
>
<
select
>
<
button
>
Hello
?
?
<
selectedoption
/
>
<
/
button
>
<
option
>
One
<
/
option
>
<
option
>
Two
<
/
option
>
<
/
select
>
<
/
object
>
<
/
option
>
<
option
>
Two
<
/
option
>
<
/
select
>

0 comments on commit 8d4f402

Please sign in to comment.