Bug 249109 - `removeChild` slow to remove form elements from a page with many CSS rules
Summary: `removeChild` slow to remove form elements from a page with many CSS rules
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-11 13:41 PST by Ahmad Saleem
Modified: 2022-12-18 13:42 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>