Bug 247797

Summary: Index setters of HTMLSelectElement and HTMLOptionsCollection should do nothing if the requested index is too large.
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, cdumez, rniwa, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2022-11-11 04:08:21 PST
Hi Team,

While going through few more Blink commits, I came across following commit, where we are failing few tests cases:

Test Case - https://jsfiddle.net/60oz7spa/show

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/e8638d6c3d11996a2b845a31f6c255f7f17b1a89

____

I just wanted to raise this bug since I couldn't find the related bug.

Thanks!
Comment 1 Ahmad Saleem 2022-11-15 06:58:25 PST
It might have impact on these WPT tests - https://wpt.fyi/results/html/select/options-length-too-large.html?label=master&label=experimental&aligned&view=subtest&q=html

but I could be completely wrong as well.
Comment 2 Radar WebKit Bug Importer 2022-11-18 04:09:17 PST
<rdar://problem/102510541>
Comment 3 EWS 2022-12-04 06:33:51 PST
Committed 257351@main (82369f26704d): <https://commits.webkit.org/257351@main>

Reviewed commits have been landed. Closing PR #6998 and removing active labels.