Bug 242329

Summary: Assert that updating style doesn't trigger script execution
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: WebCore Misc.Assignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, esprehn+autocc, ews-watchlist, kangil.han, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 242348, 242789    
Bug Blocks: 256346    
Attachments:
Description Flags
WIP
ews-feeder: commit-queue-
WIP - more aggressive
ews-feeder: commit-queue-
WIP ews-feeder: commit-queue-

Description Ryosuke Niwa 2022-07-04 21:26:46 PDT
Now that autofocus doesn't get updated as a post style resolution callback and plugins are things of the past,
there shouldn't be any mechanism by which scripts can interject themselves during style resolution.
Comment 1 Ryosuke Niwa 2022-07-04 21:26:59 PDT
Created attachment 460667 [details]
WIP
Comment 2 Ryosuke Niwa 2022-07-04 21:29:02 PDT
Created attachment 460668 [details]
WIP - more aggressive
Comment 3 Ryosuke Niwa 2022-07-04 22:05:38 PDT
Sigh... HTMLObjectElement still updates DOM via updateWidget
Comment 4 Radar WebKit Bug Importer 2022-07-11 21:27:14 PDT
<rdar://problem/96861280>
Comment 5 Ryosuke Niwa 2022-07-16 12:25:42 PDT
Created attachment 460956 [details]
WIP
Comment 6 Ryosuke Niwa 2022-07-17 13:56:06 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2497
Comment 7 EWS 2022-07-18 01:38:03 PDT
Committed 252564@main (3c7828ddd501): <https://commits.webkit.org/252564@main>

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