Bug 210374
| Summary: | [GTK] http/tests/media/user-gesture-preserved-across-xmlhttprequest.html sometimes fails | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Pino <dpino> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Diego Pino
See: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r259865%20(13278)/http/tests/media/user-gesture-preserved-across-xmlhttprequest-diff.txt
Diff:
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/media/user-gesture-preserved-across-xmlhttprequest-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/media/user-gesture-preserved-across-xmlhttprequest-actual.txt
@@ -43,14 +43,14 @@
EVENT(load): readyState = 4
setting timeout, delay = 100
RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
+Promise resolved incorrectly FAIL
** gesture -> "long" XHR -> video playback: should fail
EVENT(canplaythrough)
sending XHR, delay = 300
EVENT(load): readyState = 4
RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
+Promise resolved incorrectly FAIL
END OF TEST
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Diego Pino
The test is failing most of the times, both for GTK and WPE:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fmedia%2Fuser-gesture-preserved-across-xmlhttprequest.html&platform=GTK&platform=WPE
https://build.webkit.org/results/WPE-Linux-64-bit-Release-Tests/288000%40main%20%2818816%29/http/tests/media/user-gesture-preserved-across-xmlhttprequest-diff.txt
--- /home/buildbot/worker/WPE-Linux-64-bit-Release-Tests/build/layout-test-results/http/tests/media/user-gesture-preserved-across-xmlhttprequest-expected.txt
+++ /home/buildbot/worker/WPE-Linux-64-bit-Release-Tests/build/layout-test-results/http/tests/media/user-gesture-preserved-across-xmlhttprequest-actual.txt
@@ -43,14 +43,14 @@
EVENT(load): readyState = 4
setting timeout, delay = 100
RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
+Promise resolved incorrectly FAIL
** gesture -> "long" XHR -> video playback: should fail
EVENT(canplaythrough)
sending XHR, delay = 300
EVENT(load): readyState = 4
RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
+Promise resolved incorrectly FAIL
** gesture -> fetch -> window.open: should fail because Fetch only propagates user gesture for media
fetching, delay = 100
@@ -69,14 +69,14 @@
fetching, delay = 300
FETCH(resolved): status = 200
RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
+Promise resolved incorrectly FAIL
** no gesture -> fetch -> video playback: should fail
EVENT(canplaythrough)
fetching, delay = 100
FETCH(resolved): status = 200
RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
+Promise resolved incorrectly FAIL
** gesture -> fetch -> blob -> window.open: should fail because Fetch only propagates user gesture for media
fetching blob, delay = 100
@@ -98,7 +98,7 @@
FETCH(resolved): status = 200
FETCH(response resolved)
RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
+Promise resolved incorrectly FAIL
** no gesture -> fetch -> blob -> video playback: should fail
EVENT(canplaythrough)
@@ -106,21 +106,21 @@
FETCH(resolved): status = 200
FETCH(response resolved)
RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
+Promise resolved incorrectly FAIL
** no gesture -> promise -> video playback: should fail
EVENT(canplaythrough)
promise
PROMISE(resolved)
RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
+Promise resolved incorrectly FAIL
** 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
+Promise resolved incorrectly FAIL
** gesture -> fetch -> promise -> video playback: should succeed
EVENT(canplaythrough)
@@ -136,7 +136,7 @@
FETCH(resolved): status = 200
CRYPTO(key generated)
RUN(shouldReject(mediaElement.play()).then(testComplete, testComplete))
-Promise rejected correctly OK
+Promise resolved incorrectly FAIL
END OF TEST