Bug 242348 - Assert that scripts don't execute in UA shadow tree updates during style resolution
Summary: Assert that scripts don't execute in UA shadow tree updates during style reso...
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:
Blocks: 242329
  Show dependency treegraph
 
Reported: 2022-07-05 10:41 PDT by Ryosuke Niwa
Modified: 2022-07-18 13:26 PDT (History)
16 users (show)

See Also:


Attachments
WIP (22.65 KB, patch)
2022-07-05 10:42 PDT, Ryosuke Niwa
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
WIP2 (23.53 KB, patch)
2022-07-05 11:11 PDT, Ryosuke Niwa
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
WIP3 (23.95 KB, patch)
2022-07-05 20:46 PDT, Ryosuke Niwa
no flags 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-05 10:41:23 PDT
Now that sync IPC is actually sync and no longer execute arbitrary scripts,
we should be able to assert that no scripts execute during UA shadow tree updates.
Comment 1 Ryosuke Niwa 2022-07-05 10:42:29 PDT
Created attachment 460687 [details]
WIP
Comment 2 Ryosuke Niwa 2022-07-05 11:11:47 PDT
Created attachment 460690 [details]
WIP2
Comment 3 Ryosuke Niwa 2022-07-05 20:46:49 PDT
Created attachment 460704 [details]
WIP3
Comment 4 Radar WebKit Bug Importer 2022-07-12 10:42:14 PDT
<rdar://problem/96897597>
Comment 5 Ryosuke Niwa 2022-07-14 12:38:50 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2421
Comment 6 EWS 2022-07-17 13:23:20 PDT
Committed 252551@main (b10818115c0f): <https://commits.webkit.org/252551@main>

Reviewed commits have been landed. Closing PR #2421 and removing active labels.
Comment 7 Fujii Hironori 2022-07-18 13:26:03 PDT
Bug 242866 – REGRESSION(252551@main-252554@main?) ASSERTION FAILED: ScriptDisallowedScope::InMainThread::isEventDispatchAllowedInSubtree(*this) in WebCore::Node::dispatchSubtreeModifiedEvent()