Bug 261339 - REGRESSION (263708@main): [ macOS debug wk1 ] ASSERTION FAILED: ScriptDisallowedScope::InMainThread::isScriptAllowed()
Summary: REGRESSION (263708@main): [ macOS debug wk1 ] ASSERTION FAILED: ScriptDisallo...
Status: RESOLVED DUPLICATE of bug 261305
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-08 10:22 PDT by Karl Rackler
Modified: 2023-09-12 06:33 PDT (History)
4 users (show)

See Also:


Attachments
symbolicated-log (44.29 KB, text/plain)
2023-09-08 10:22 PDT, Karl Rackler
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Rackler 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>)
Comment 1 Radar WebKit Bug Importer 2023-09-08 10:22:51 PDT
<rdar://problem/115178343>
Comment 2 EWS 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.
Comment 3 Karl Rackler 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.
Comment 4 EWS 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.
Comment 5 Ryosuke Niwa 2023-09-12 06:33:11 PDT

*** This bug has been marked as a duplicate of bug 261305 ***