<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>313701</bug_id>
          
          <creation_ts>2026-04-29 17:19:33 -0700</creation_ts>
          <short_desc>[macOS] ASSERTION FAILED: canProgrammaticallyPresentPopup() in TestWebKitAPI.WKWebExtension</short_desc>
          <delta_ts>2026-05-01 17:36:00 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Extensions</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Timothy Hatcher">timothy</assigned_to>
          <cc>timothy</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2206051</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2026-04-29 17:19:33 -0700</bug_when>
    <thetext>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 &apos;WebPage_RegisterURLSchemeHandler&apos; (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 &amp;, IPC::Decoder &amp;)
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 &apos;WebPage_RegisterURLSchemeHandler&apos; (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 &amp;, IPC::Decoder &amp;)
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&amp;suite=api-tests&amp;test=TestWebKitAPI.WKWebExtension.LoadFromChromeExtensionArchive&amp;test=TestWebKitAPI.WKWebExtension.LoadFromDirectory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2206052</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-04-29 17:19:58 -0700</bug_when>
    <thetext>&lt;rdar://problem/175897544&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2206070</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-29 18:47:15 -0700</bug_when>
    <thetext>Test gardening commit 312328@main (249bb4e8537e): &lt;https://commits.webkit.org/312328@main&gt;

Reviewed commits have been landed. Closing PR #63937 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2206739</commentid>
    <comment_count>3</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2026-05-01 17:22:25 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/64082</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2206743</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-05-01 17:35:58 -0700</bug_when>
    <thetext>Committed 312462@main (7aa77f71f5bc): &lt;https://commits.webkit.org/312462@main&gt;

Reviewed commits have been landed. Closing PR #64082 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>