Bug 313701

Summary: [macOS] ASSERTION FAILED: canProgrammaticallyPresentPopup() in TestWebKitAPI.WKWebExtension
Product: WebKit Reporter: Marta Darbinyan <darbinyan>
Component: WebKit ExtensionsAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: timothy, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Marta Darbinyan
Reported 2026-04-29 17:19:33 PDT
The following tests are crashing on Tahoe Debug queue on EWS bots. TestWebKitAPI.WKWebExtension.LoadFromChromeExtensionArchive TestWebKitAPI.WKWebExtension.LoadFromDirectory 12:46:17.530 1025 TestWebKitAPI.WKWebExtension.LoadFromChromeExtensionArchive 12:46:17.530 1025 ERROR: Unhandled web process message 'WebPage_RegisterURLSchemeHandler' (destination: 39 pid: 5758) 12:46:17.530 1025 /Volumes/Data/worker/macOS-Tahoe-Debug-Build-EWS/build/Source/WebKit/WebProcess/WebProcess.cpp(1139) : virtual bool WebKit::WebProcess::filterUnhandledMessage(IPC::Connection &, IPC::Decoder &) 12:46:17.531 1025 ASSERTION FAILED: canProgrammaticallyPresentPopup() 12:46:17.531 1025 /Volumes/Data/worker/macOS-Tahoe-Debug-Build-EWS/build/Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionActionCocoa.mm(1080) : void WebKit::WebExtensionAction::readyToPresentPopup() 12:46:17.531 1025 1 0x300e36ae0 WebKit::WebExtensionAction::readyToPresentPopup() 12:46:17.531 1025 2 0x300e2fb0c WebKit::WebExtensionAction::popupSizeDidChange() 12:46:17.531 1025 3 0x300e2f79c -[_WKWebExtensionActionWebView _contentSizeHasStabilized] 12:46:17.531 1025 4 0x1976c3634 __NSFireDelayedPerform 12:46:17.531 1025 5 0x195ea718c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ 12:46:17.531 1025 6 0x195ea6e4c __CFRunLoopDoTimer 12:46:17.531 1025 7 0x195ea69c4 __CFRunLoopDoTimers 12:46:17.531 1025 8 0x195e9776c __CFRunLoopRun 12:46:17.531 1025 9 0x195f51e34 _CFRunLoopRunSpecificWithOptions 12:46:17.531 1025 10 0x195eeaa40 CFRunLoopRun 12:46:17.531 1025 11 0x2916c6b04 $ss14CFMainExecutorC3runyyKF 12:46:17.531 1025 12 0x2916c67bc $ss20DispatchMainExecutorCs07RunLoopC0ssACP3runyyKFTW 12:46:17.531 1025 13 0x2916c6bb0 swift_task_asyncMainDrainQueueImpl 12:46:17.531 1025 14 0x2916e6670 swift_task_asyncMainDrainQueue 12:46:17.531 1025 15 0x101eae0f0 main 12:46:17.531 1025 16 0x195a31d54 start 12:46:17.531 1025 12:46:17.531 1025 TestWebKitAPI.WKWebExtension.LoadFromDirectory 12:46:17.531 1025 ERROR: Unhandled web process message 'WebPage_RegisterURLSchemeHandler' (destination: 39 pid: 6034) 12:46:17.531 1025 /Volumes/Data/worker/macOS-Tahoe-Debug-Build-EWS/build/Source/WebKit/WebProcess/WebProcess.cpp(1139) : virtual bool WebKit::WebProcess::filterUnhandledMessage(IPC::Connection &, IPC::Decoder &) 12:46:17.531 1025 ASSERTION FAILED: canProgrammaticallyPresentPopup() 12:46:17.531 1025 /Volumes/Data/worker/macOS-Tahoe-Debug-Build-EWS/build/Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionActionCocoa.mm(1080) : void WebKit::WebExtensionAction::readyToPresentPopup() 12:46:17.531 1025 1 0x300e36ae0 WebKit::WebExtensionAction::readyToPresentPopup() 12:46:17.531 1025 2 0x300e2fb0c WebKit::WebExtensionAction::popupSizeDidChange() 12:46:17.531 1025 3 0x300e2f79c -[_WKWebExtensionActionWebView _contentSizeHasStabilized] 12:46:17.531 1025 4 0x1976c3634 __NSFireDelayedPerform 12:46:17.531 1025 5 0x195ea718c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ 12:46:17.531 1025 6 0x195ea6e4c __CFRunLoopDoTimer 12:46:17.531 1025 7 0x195ea69c4 __CFRunLoopDoTimers 12:46:17.531 1025 8 0x195e9776c __CFRunLoopRun 12:46:17.531 1025 9 0x195f51e34 _CFRunLoopRunSpecificWithOptions 12:46:17.531 1025 10 0x195eeaa40 CFRunLoopRun 12:46:17.531 1025 11 0x2916c6b04 $ss14CFMainExecutorC3runyyKF 12:46:17.531 1025 12 0x2916c67bc $ss20DispatchMainExecutorCs07RunLoopC0ssACP3runyyKFTW 12:46:17.531 1025 13 0x2916c6bb0 swift_task_asyncMainDrainQueueImpl 12:46:17.531 1025 14 0x2916e6670 swift_task_asyncMainDrainQueue 12:46:17.531 1025 15 0x10643a0f0 main 12:46:17.531 1025 16 0x195a31d54 start Test results: https://ews-build.webkit.org/#/builders/165/builds/23310 Test history: https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWebKitAPI.WKWebExtension.LoadFromChromeExtensionArchive&test=TestWebKitAPI.WKWebExtension.LoadFromDirectory
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-29 17:19:58 PDT
EWS
Comment 2 2026-04-29 18:47:15 PDT
Test gardening commit 312328@main (249bb4e8537e): <https://commits.webkit.org/312328@main> Reviewed commits have been landed. Closing PR #63937 and removing active labels.
Timothy Hatcher
Comment 3 2026-05-01 17:22:25 PDT
EWS
Comment 4 2026-05-01 17:35:58 PDT
Committed 312462@main (7aa77f71f5bc): <https://commits.webkit.org/312462@main> Reviewed commits have been landed. Closing PR #64082 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.