<?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>223293</bug_id>
          
          <creation_ts>2021-03-16 18:21:21 -0700</creation_ts>
          <short_desc>[ macOS wk2 ] media/media-fullscreen-return-to-inline.html is a flakey text failure and flakey timeout</short_desc>
          <delta_ts>2021-03-22 17:22:33 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>peng.liu6</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>1740334</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-03-16 18:21:21 -0700</bug_when>
    <thetext>media/media-fullscreen-return-to-inline.html

is flakey flakey timing out in Catalina and BigSur in WK2 in release and debug.

This test is also flakey text failing in BigSur release and debug in wk2, but only on Apple Silicon systems.

HISTORY URL:
https://results.webkit.org/?suite=layout-tests&amp;test=media%2Fmedia-fullscreen-return-to-inline.html&amp;architecture=arm64

TEXT TIMEOUT LOG:
+#PID UNRESPONSIVE - WebKitTestRunner (pid 50406)
+FAIL: Timed out waiting for notifyDone to be called
 
-Test that a &lt;video&gt; pauses after exiting fullscreen when the internal property &quot;allowsInlineMediaPlaybackAfterFullscreen&quot; is false.
-
-RUN(video.src = findMediaFile(&quot;video&quot;, &quot;content/test&quot;))
-EVENT(canplaythrough)
-RUN(video.play())
-EVENT(webkitpresentationmodechanged)
-EXPECTED (internals.isChangingPresentationMode(video) == &apos;false&apos;) OK
-EXPECTED (video.webkitDisplayingFullscreen == &apos;true&apos;) OK
-RUN(video.webkitExitFullscreen())
-EVENT(webkitpresentationmodechanged)
-EXPECTED (internals.isChangingPresentationMode(video) == &apos;false&apos;) OK
-EXPECTED (video.webkitDisplayingFullscreen == &apos;false&apos;) OK
-EXPECTED (video.paused == &apos;true&apos;) OK
-RUN(video.play())
-EVENT(webkitpresentationmodechanged)
-EXPECTED (internals.isChangingPresentationMode(video) == &apos;false&apos;) OK
-EXPECTED (video.webkitDisplayingFullscreen == &apos;true&apos;) OK
-RUN(video.webkitExitFullscreen())
-EVENT(webkitpresentationmodechanged)
-EXPECTED (internals.isChangingPresentationMode(video) == &apos;false&apos;) OK
-EXPECTED (video.webkitDisplayingFullscreen == &apos;false&apos;) OK
-EXPECTED (video.paused == &apos;false&apos;) OK
-END OF TEST
-
+#EOF
+#EOF


DIFF TEXT ON APPLE SILICON ONLY:
 EVENT(webkitpresentationmodechanged)
 EXPECTED (internals.isChangingPresentationMode(video) == &apos;false&apos;) OK
 EXPECTED (video.webkitDisplayingFullscreen == &apos;false&apos;) OK
-EXPECTED (video.paused == &apos;false&apos;) OK
+EXPECTED (video.paused == &apos;false&apos;), OBSERVED &apos;true&apos; FAIL
 END OF TEST</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1740338</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-03-16 18:29:34 -0700</bug_when>
    <thetext>&lt;rdar://problem/75505158&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1740339</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-03-16 18:30:43 -0700</bug_when>
    <thetext>I have updated the expectations for this test here:
https://trac.webkit.org/changeset/274545/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1740341</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-03-16 18:41:49 -0700</bug_when>
    <thetext>I have reproduced the timeout at ToT for macOS release using the following test:

run-webkit-test media/media-fullscreen-return-to-inline.html --iterations 1000 -f

I cannot reproduce the text failures because those only occur on an Apple Silicon Mac, and I do not have access to one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1742599</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-03-22 17:22:33 -0700</bug_when>
    <thetext>History link for both x86 and arm64 results: https://results.webkit.org/?suite=layout-tests&amp;test=media%2Fmedia-fullscreen-return-to-inline.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>