Bug 242348

Summary: Assert that scripts don't execute in UA shadow tree updates during style resolution
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: WebCore Misc.Assignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, changseok, cmarcelo, dino, esprehn+autocc, ews-watchlist, fmalita, gyuyoung.kim, Hironori.Fujii, kangil.han, mifenton, pdr, sabouhallawa, schenney, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 242329    
Attachments:
Description Flags
WIP
ews-feeder: commit-queue-
WIP2
ews-feeder: commit-queue-
WIP3 none

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()