<?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>265068</bug_id>
          
          <creation_ts>2023-11-17 13:46:42 -0800</creation_ts>
          <short_desc>REGRESSION (270199@main?): [ iOS Debug ] ASSERTION FAILED: _maximumUnobscuredSizeOverride in TestWebKitAPI.WKWebViewCloseAllMediaPresentations.ElementFullscreen result of constant crash</short_desc>
          <delta_ts>2023-12-14 10:37:22 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</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="Nobody">webkit-unassigned</assigned_to>
          <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>1993582</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2023-11-17 13:46:42 -0800</bug_when>
    <thetext>Description:
TestWebKitAPI.WKWebViewCloseAllMediaPresentations.ElementFullscreen is constantly crashing on iOS Debug ToT. 
The possible culprit change is in the following range: https://commits.webkit.org/compare/270197@main...270206@main

Suspecting 270199@main.

History:
https://results.webkit.org/?suite=api-tests&amp;test=TestWebKitAPI.WKWebViewCloseAllMediaPresentations.ElementFullscreen

Result:
 TestWebKitAPI.WKWebViewCloseAllMediaPresentations.ElementFullscreen
        2023-11-17 05:08:12.972 TestWebKitAPI[36787:69771339] &lt;CATransformLayer: 0x600003100f20&gt; - changing property masksToBounds in transform-only layer, will have no effect
        2023-11-17 05:08:12.976 TestWebKitAPI[36787:69771339] &lt;CATransformLayer: 0x60000315bca0&gt; - changing property masksToBounds in transform-only layer, will have no effect
        ASSERTION FAILED: _maximumUnobscuredSizeOverride
        /Volumes/Data/worker/Apple-iOS-17-Simulator-Debug-Build/build/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm(3571) : -[WKWebView(WKPrivateIOS) _maximumUnobscuredSizeOverride]
        1   0x11a62ec7c WTFCrash
        2   0x147232390 std::__1::__optional_move_base&lt;unsigned long long, true&gt;::__optional_move_base()
        3   0x148829e40 -[WKWebView(WKPrivateIOS) _maximumUnobscuredSizeOverride]
        4   0x148c83ebc WebKit::WKWebViewState::store(WKWebView*)
        5   0x148c83334 -[WKFullScreenWindowController enterFullScreen:]
        6   0x148b77ad8 WebKit::PageClientImpl::enterFullScreen(WebCore::FloatSize)
        7   0x148e67768 WebKit::WebFullScreenManagerProxy::enterFullScreen(bool, bool, WebCore::FloatSize)
        8   0x149d9d360 auto void IPC::callMemberFunction&lt;WebKit::WebFullScreenManagerProxy, WebKit::WebFullScreenManagerProxy, void (bool, bool, WebCore::FloatSize), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;&gt;(WebKit::WebFullScreenManagerProxy*, void (WebKit::WebFullScreenManagerProxy::*)(bool, bool, WebCore::FloatSize), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...)::operator()&lt;bool, bool, WebCore::FloatSize&gt;(auto&amp;&amp;...) const
        9   0x149d9d234 decltype(std::declval&lt;WebKit::WebFullScreenManagerProxy&gt;()(std::declval&lt;bool&gt;(), std::declval&lt;bool&gt;(), std::declval&lt;WebCore::FloatSize&gt;())) std::__1::__invoke[abi:v160006]&lt;void IPC::callMemberFunction&lt;WebKit::WebFullScreenManagerProxy, WebKit::WebFullScreenManagerProxy, void (bool, bool, WebCore::FloatSize), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;&gt;(WebKit::WebFullScreenManagerProxy*, void (WebKit::WebFullScreenManagerProxy::*)(bool, bool, WebCore::FloatSize), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...), bool, bool, WebCore::FloatSize&gt;(WebKit::WebFullScreenManagerProxy&amp;&amp;, bool&amp;&amp;, bool&amp;&amp;, WebCore::FloatSize&amp;&amp;)
        10  0x149d9d1f8 decltype(auto) std::__1::__apply_tuple_impl[abi:v160006]&lt;void IPC::callMemberFunction&lt;WebKit::WebFullScreenManagerProxy, WebKit::WebFullScreenManagerProxy, void (bool, bool, WebCore::FloatSize), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;&gt;(WebKit::WebFullScreenManagerProxy*, void (WebKit::WebFullScreenManagerProxy::*)(bool, bool, WebCore::FloatSize), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;, 0ul, 1ul, 2ul&gt;(WebKit::WebFullScreenManagerProxy&amp;&amp;, WebKit::WebFullScreenManagerProxy&amp;&amp;, std::__1::__tuple_indices&lt;0ul, 1ul, 2ul&gt;)
        11  0x149d9d19c decltype(auto) std::__1::apply[abi:v160006]&lt;void IPC::callMemberFunction&lt;WebKit::WebFullScreenManagerProxy, WebKit::WebFullScreenManagerProxy, void (bool, bool, WebCore::FloatSize), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;&gt;(WebKit::WebFullScreenManagerProxy*, void (WebKit::WebFullScreenManagerProxy::*)(bool, bool, WebCore::FloatSize), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;&gt;(WebKit::WebFullScreenManagerProxy&amp;&amp;, WebKit::WebFullScreenManagerProxy&amp;&amp;)
        12  0x149d9c6e0 void IPC::callMemberFunction&lt;WebKit::WebFullScreenManagerProxy, WebKit::WebFullScreenManagerProxy, void (bool, bool, WebCore::FloatSize), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;&gt;(WebKit::WebFullScreenManagerProxy*, void (WebKit::WebFullScreenManagerProxy::*)(bool, bool, WebCore::FloatSize), std::__1::tuple&lt;bool, bool, WebCore::FloatSize&gt;&amp;&amp;)
        13  0x149d9b650 void IPC::handleMessage&lt;Messages::WebFullScreenManagerProxy::EnterFullScreen, WebKit::WebFullScreenManagerProxy, WebKit::WebFullScreenManagerProxy, void (bool, bool, WebCore::FloatSize)&gt;(IPC::Connection&amp;, IPC::Decoder&amp;, WebKit::WebFullScreenManagerProxy*, void (WebKit::WebFullScreenManagerProxy::*)(bool, bool, WebCore::FloatSize))
        14  0x149d9b3a8 WebKit::WebFullScreenManagerProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
        15  0x14a48224c IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
        16  0x148ccb7c8 WebKit::AuxiliaryProcessProxy::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
        17  0x14903086c WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
        18  0x14a45824c IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
        19  0x14a458680 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt;&gt;)
        20  0x14a458cdc IPC::Connection::dispatchIncomingMessages()
        21  0x14a4752fc IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt;&gt;)::$_16::operator()() const
        22  0x14a475258 WTF::Detail::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt;&gt;)::$_16, void&gt;::call()
        23  0x11a657500 WTF::Function&lt;void ()&gt;::operator()() const
        24  0x11a6ed6a0 WTF::RunLoop::performWork()
        25  0x11a6f1bb4 WTF::RunLoop::performWork(void*)
        26  0x1096a169c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
        27  0x1096a15e4 __CFRunLoopDoSource0
        28  0x1096a0d54 __CFRunLoopDoSources0
        29  0x10969b43c __CFRunLoopRun
        30  0x10969ad28 CFRunLoopRunSpecific
        31  0x114620a98 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
        Child process terminated with signal 11: Segmentation fault</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1993584</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-17 13:47:56 -0800</bug_when>
    <thetext>&lt;rdar://problem/118579209&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999380</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-13 13:37:05 -0800</bug_when>
    <thetext>Test gardening commit 272001@main (1f550dd5c82d): &lt;https://commits.webkit.org/272001@main&gt;

Reviewed commits have been landed. Closing PR #21756 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999640</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-14 10:37:19 -0800</bug_when>
    <thetext>Committed 272056@main (4893ab05c93b): &lt;https://commits.webkit.org/272056@main&gt;

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

    </bug>

</bugzilla>