Title: [287598] trunk/LayoutTests
- Revision
- 287598
- Author
- [email protected]
- Date
- 2022-01-04 17:02:04 -0800 (Tue, 04 Jan 2022)
Log Message
[GTK] media/video-as-img-output-pts.html test is flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=224112
Reviewed by Philippe Normand.
Refactored test to make it similar to other Media test (i.e
media/video-page-visibility-restriction.html).
* media/video-as-img-output-pts-expected.txt:
* media/video-as-img-output-pts.html:
* platform/glib/TestExpectations:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (287597 => 287598)
--- trunk/LayoutTests/ChangeLog 2022-01-05 00:48:47 UTC (rev 287597)
+++ trunk/LayoutTests/ChangeLog 2022-01-05 01:02:04 UTC (rev 287598)
@@ -1,3 +1,17 @@
+2022-01-04 Diego Pino Garcia <[email protected]>
+
+ [GTK] media/video-as-img-output-pts.html test is flaky timeout
+ https://bugs.webkit.org/show_bug.cgi?id=224112
+
+ Reviewed by Philippe Normand.
+
+ Refactored test to make it similar to other Media test (i.e
+ media/video-page-visibility-restriction.html).
+
+ * media/video-as-img-output-pts-expected.txt:
+ * media/video-as-img-output-pts.html:
+ * platform/glib/TestExpectations:
+
2022-01-04 Fujii Hironori <[email protected]>
[WinCairo] Unreviewed test gardening
Modified: trunk/LayoutTests/media/video-as-img-output-pts-expected.txt (287597 => 287598)
--- trunk/LayoutTests/media/video-as-img-output-pts-expected.txt 2022-01-05 00:48:47 UTC (rev 287597)
+++ trunk/LayoutTests/media/video-as-img-output-pts-expected.txt 2022-01-05 01:02:04 UTC (rev 287598)
@@ -1,4 +1,7 @@
Tests that an <img> with a .mp4 source where that .mp4 has an edit list will correctly decode.
+RUN(img = new Image())
+RUN(img.src = '')
+RUN(promise = img.decode())
Promise resolved OK
END OF TEST
Modified: trunk/LayoutTests/media/video-as-img-output-pts.html (287597 => 287598)
--- trunk/LayoutTests/media/video-as-img-output-pts.html 2022-01-05 00:48:47 UTC (rev 287597)
+++ trunk/LayoutTests/media/video-as-img-output-pts.html 2022-01-05 01:02:04 UTC (rev 287598)
@@ -4,17 +4,17 @@
<title>video-as-img-output-pts</title>
<script src=""
<script>
+
window.addEventListener('load', async event => {
consoleWrite('Tests that an <img> with a .mp4 source where that .mp4 has an edit list will correctly decode.')
- try {
- let img = new Image();
- img.src = '';
- await shouldResolve(img.decode());
- endTest();
- } catch (e) {
- failTest(`Caught exception ${ e }`);
- }
+ run("img = new Image()");
+ run("img.src = ''");
+ run("promise = img.decode()");
+
+ await shouldResolve(promise);
+
+ endTest();
});
</script>
</head>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/LayoutTests/platform/glib/TestExpectations (287597 => 287598)
--- trunk/LayoutTests/platform/glib/TestExpectations 2022-01-05 00:48:47 UTC (rev 287597)
+++ trunk/LayoutTests/platform/glib/TestExpectations 2022-01-05 01:02:04 UTC (rev 287598)
@@ -2374,9 +2374,6 @@
# Added in r276357. Also marked as ImageOnlyFailure in iOS TestExpectations.
fast/text/line-break-with-locale.html [ ImageOnlyFailure ]
-# It was a flaky crash until r275516, but it's still a timeout flaky.
-webkit.org/b/224112 media/video-as-img-output-pts.html [ Timeout Pass ]
-
webkit.org/b/225423 fast/canvas/canvas-composite-text-alpha.html [ Failure ]
# Non-sRGB color spaces are not currently supported by the glib ports.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes