Bug 242329 - Assert that updating style doesn't trigger script execution
Summary: Assert that updating style doesn't trigger script execution
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on: 242348 242789
Blocks: 256346
  Show dependency treegraph
 
Reported: 2022-07-04 21:26 PDT by Ryosuke Niwa
Modified: 2023-05-04 18:20 PDT (History)
5 users (show)

See Also:


Attachments
WIP (1.08 KB, patch)
2022-07-04 21:26 PDT, Ryosuke Niwa
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
WIP - more aggressive (2.13 KB, patch)
2022-07-04 21:29 PDT, Ryosuke Niwa
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
WIP (2.13 KB, patch)
2022-07-16 12:25 PDT, Ryosuke Niwa
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

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