[Webkit-unassigned] [Bug 229588] New: [Mac] http/tests/media/user-gesture-preserved-across-xmlhttprequest.html is a flaky fail/crash/timeout

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 26 14:56:17 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=229588

            Bug ID: 229588
           Summary: [Mac]
                    http/tests/media/user-gesture-preserved-across-xmlhttp
                    request.html is a flaky fail/crash/timeout
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ehutchison at apple.com

Created attachment 436572

  --> https://bugs.webkit.org/attachment.cgi?id=436572&action=review

CrashLog from r268268

http/tests/media/user-gesture-preserved-across-xmlhttprequest.html

is a flaky timeout on BigSur wk2 Debug. Also, it is a flaky failure on Monterey wk1 and a flaky crash on Catalina/BigSur wk1.

History: https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fmedia%2Fuser-gesture-preserved-across-xmlhttprequest.html

Results: https://build.webkit.org/results/Apple-BigSur-Debug-WK2-Tests/r281633%20(3446)/results.html

Diff:
--- /Volumes/Data/worker/bigsur-debug-tests-wk2/build/layout-test-results/http/tests/media/user-gesture-preserved-across-xmlhttprequest-expected.txt
+++ /Volumes/Data/worker/bigsur-debug-tests-wk2/build/layout-test-results/http/tests/media/user-gesture-preserved-across-xmlhttprequest-actual.txt
@@ -1,3 +1,5 @@
+FAIL: Timed out waiting for notifyDone to be called
+
 Test that a user gesture is preserved across XHR and setTimeout.


@@ -101,42 +103,4 @@
 Promise rejected correctly OK

 ** no gesture -> fetch -> blob -> video playback: should fail
-EVENT(canplaythrough)
-fetching blob, delay = 100
-FETCH(resolved): status = 200
-FETCH(response resolved)
-RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK

-** no gesture -> promise -> video playback: should fail
-EVENT(canplaythrough)
-promise
-PROMISE(resolved)
-RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
-
-** gesture -> promise -> video playback: should fail because promise only propagates user gesture propagated through Fetch
-EVENT(canplaythrough)
-promise
-PROMISE(resolved)
-RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
-
-** gesture -> fetch -> promise -> video playback: should succeed
-EVENT(canplaythrough)
-fetch then promise
-FETCH(resolved): status = 200
-PROMISE(resolved)
-RUN(shouldResolve(mediaElement.play()).then(testComplete, testComplete))
-Promise resolved OK
-
-** gesture -> fetch -> crypto -> video playback: should fail since the user gesture will not be propagated through other API even though it returns promises
-EVENT(canplaythrough)
-fetch then crypto
-FETCH(resolved): status = 200
-CRYPTO(key generated)
-RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
-
-END OF TEST
-

CrashLog Attached:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210826/3c0e2543/attachment-0001.htm>


More information about the webkit-unassigned mailing list