Bug 249109

Summary: `removeChild` slow to remove form elements from a page with many CSS rules
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2022-12-11 13:41:47 PST
Hi Team,

While going through Blink's commit, I came across another test case, which makes Safari 16.1 (STP 159 is faster but not as much as Chrome Canary 110 and Firefox Nightly 109 [Firefox is the fastest]) tab unresponsive.

JSFiddle - https://jsfiddle.net/n0h1g6wd/

^Took from Chromium Bug - https://bugs.chromium.org/p/chromium/issues/detail?id=499349

Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=197204

If this slow test case can be fixed or at least made responsive so that the tab does not hang, it would be great.

Thanks!
Comment 1 Radar WebKit Bug Importer 2022-12-18 13:42:14 PST
<rdar://problem/103498459>