Bug 223293 - [ macOS wk2 ] media/media-fullscreen-return-to-inline.html is a flakey text failure and flakey timeout
Summary: [ macOS wk2 ] media/media-fullscreen-return-to-inline.html is a flakey text f...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-16 18:21 PDT by Robert Jenner
Modified: 2021-03-22 17:22 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Jenner 2021-03-16 18:21:21 PDT
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&test=media%2Fmedia-fullscreen-return-to-inline.html&architecture=arm64

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


DIFF TEXT ON APPLE SILICON ONLY:
 EVENT(webkitpresentationmodechanged)
 EXPECTED (internals.isChangingPresentationMode(video) == 'false') OK
 EXPECTED (video.webkitDisplayingFullscreen == 'false') OK
-EXPECTED (video.paused == 'false') OK
+EXPECTED (video.paused == 'false'), OBSERVED 'true' FAIL
 END OF TEST
Comment 1 Radar WebKit Bug Importer 2021-03-16 18:29:34 PDT
<rdar://problem/75505158>
Comment 2 Robert Jenner 2021-03-16 18:30:43 PDT
I have updated the expectations for this test here:
https://trac.webkit.org/changeset/274545/webkit
Comment 3 Robert Jenner 2021-03-16 18:41:49 PDT
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.
Comment 4 Ryan Haddad 2021-03-22 17:22:33 PDT
History link for both x86 and arm64 results: https://results.webkit.org/?suite=layout-tests&test=media%2Fmedia-fullscreen-return-to-inline.html