Bug 261339

Summary: REGRESSION (263708@main): [ macOS debug wk1 ] ASSERTION FAILED: ScriptDisallowedScope::InMainThread::isScriptAllowed()
Product: WebKit Reporter: Karl Rackler <rackler>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, rniwa, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=261305
Attachments:
Description Flags
symbolicated-log none

Karl Rackler
Reported 2023-09-08 10:22:18 PDT
Created attachment 467607 [details] symbolicated-log Description: editing/selection/cleared-by-relayout.html Is a constant crash on macOS ToT and since 263708@main. This issue can be bisected to 263708@main using command: run-webkit-tests --debug --iterations=1 -1 editing/selection/cleared-by-relayout.html History: https://results.webkit.org/?suite=layout-tests&test=editing%2Fselection%2Fcleared-by-relayout.html&platform=mac&flavor=wk1&style=debug&recent=false Crash Log: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.JavaScriptCore 0x11892e5ae WTFCrash 1 com.apple.JavaScriptCore 0x11892e5c8 WTFCrashWithSecurityImplication 2 com.apple.WebCore 0x124dd927c WebCore::Document::dispatchWindowEvent(WebCore::Event&, WebCore::EventTarget*) 3 com.apple.WebCore 0x125b71fb0 WebCore::dispatchEventsOnWindowAndFocusedElement(WebCore::Document*, bool) 4 com.apple.WebCore 0x125b71ea6 WebCore::FocusController::setFocusedInternal(bool) 5 com.apple.WebCore 0x125b73fae WebCore::FocusController::setActivityState(WTF::OptionSet<WebCore::ActivityState>)
Attachments
symbolicated-log (44.29 KB, text/plain)
2023-09-08 10:22 PDT, Karl Rackler
no flags
Radar WebKit Bug Importer
Comment 1 2023-09-08 10:22:51 PDT
EWS
Comment 2 2023-09-08 10:36:19 PDT
Test gardening commit 267799@main (7400479f98a1): <https://commits.webkit.org/267799@main> Reviewed commits have been landed. Closing PR #17598 and removing active labels.
Karl Rackler
Comment 3 2023-09-08 11:29:48 PDT
Adding test: imported/w3c/web-platform-tests/editing/crashtests/designMode-document-will-be-blurred-by-focus-event-listener.html It exhibits the same regression point, assertion, and crash log.
EWS
Comment 4 2023-09-08 11:39:11 PDT
Test gardening commit 267804@main (7bf2dd5ae526): <https://commits.webkit.org/267804@main> Reviewed commits have been landed. Closing PR #17605 and removing active labels.
Ryosuke Niwa
Comment 5 2023-09-12 06:33:11 PDT
*** This bug has been marked as a duplicate of bug 261305 ***
Note You need to log in before you can comment on or make changes to this bug.