<?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>248203</bug_id>
          
          <creation_ts>2022-11-21 21:04:28 -0800</creation_ts>
          <short_desc>REGRESSION(256812@main) [GTK] WebKitWebView API tests are flaky getting stuck</short_desc>
          <delta_ts>2022-11-22 06:44:55 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=247991</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>jer.noble</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1913988</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2022-11-21 21:04:28 -0800</bug_when>
    <thetext>WebKitBuild/GTK/Release/bin/TestWebKitAPI/WebKitGTK/TestWebKitWebView

To reproduce:
./Tools/Scripts/run-gtk-tests --flatpak-verbose --release --display-server=xvfb WebKitBuild/GTK/Release/bin/TestWebKitAPI/WebKitGTK/TestWebKitWebView

Expected: Test executable runs and exits normally

Actual: The test executable becomes zombie while one of the spawned WebProcess is kept alive. The EWS bots are timing out stuck (over the 1200s limit).

Bisecting shows that 256812@main introduced the issue. Also, commenting out the test `/webkit/WebKitWebView/fullscreen` makes the issue go away.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1913989</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2022-11-21 21:15:13 -0800</bug_when>
    <thetext>Fullscreen test skipped in https://github.com/WebKit/WebKit/pull/6722 to unstuck the bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1914072</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-11-22 06:44:55 -0800</bug_when>
    <thetext>(In reply to Lauro Moura from comment #0)
&gt; Bisecting shows that 256812@main introduced the issue.

This is &quot;[iOS] PiP-then-Fullscreen results in broken controls in fullscreen mode.&quot; For a web process to stay alive and not notice that the UI process is gone, I guess it has lost control entirely, probably in an infinite loop? If it were to return control to the main loop, then it should notice and die.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>