Title: [253310] trunk/LayoutTests
- Revision
- 253310
- Author
- [email protected]
- Date
- 2019-12-09 16:57:59 -0800 (Mon, 09 Dec 2019)
Log Message
compositing/video/video-border-radius-clipping.html is a flaky Image Failure
https://bugs.webkit.org/show_bug.cgi?id=204951
rdar://problem/57703078
Unreviewed test gardening. Make the test seek so we have a higher chance
of getting a video frame. It's apparently impossible to know when we have
a frame for ref testing.
* compositing/video/video-border-radius-clipping-expected.html:
* compositing/video/video-border-radius-clipping.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (253309 => 253310)
--- trunk/LayoutTests/ChangeLog 2019-12-10 00:53:23 UTC (rev 253309)
+++ trunk/LayoutTests/ChangeLog 2019-12-10 00:57:59 UTC (rev 253310)
@@ -62,6 +62,19 @@
* http/wpt/service-workers/file-upload-worker.js: Added.
* http/wpt/service-workers/file-upload.html: Added.
+2019-12-09 Simon Fraser <[email protected]>
+
+ compositing/video/video-border-radius-clipping.html is a flaky Image Failure
+ https://bugs.webkit.org/show_bug.cgi?id=204951
+ rdar://problem/57703078
+
+ Unreviewed test gardening. Make the test seek so we have a higher chance
+ of getting a video frame. It's apparently impossible to know when we have
+ a frame for ref testing.
+
+ * compositing/video/video-border-radius-clipping-expected.html:
+ * compositing/video/video-border-radius-clipping.html:
+
2019-12-09 Truitt Savell <[email protected]>
(r252889) webrtc/peerconnection-page-cache.html is crashing on iOS Debug
Modified: trunk/LayoutTests/compositing/video/video-border-radius-clipping-expected.html (253309 => 253310)
--- trunk/LayoutTests/compositing/video/video-border-radius-clipping-expected.html 2019-12-10 00:53:23 UTC (rev 253309)
+++ trunk/LayoutTests/compositing/video/video-border-radius-clipping-expected.html 2019-12-10 00:57:59 UTC (rev 253310)
@@ -18,32 +18,31 @@
</style>
<script src=""
<script>
- if (window.testRunner)
- testRunner.waitUntilDone();
+ var requirePixelDump = true;
+ var video;
- function setupTest()
+ function testComplete()
{
- var totalCount = document.getElementsByTagName('video').length;
- var count = totalCount;
- document.addEventListener("canplaythrough", function () {
- if (!--count && window.testRunner) {
- setTimeout(function() {
- testRunner.notifyDone();
- }, totalCount * 150);
- }
- }, true);
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }
- document.addEventListener("error", function (event) {
- console.log("Video " + event.target.getAttribute("name") + " failed to load, error " + event.target.error.code);
- if (window.testRunner)
- testRunner.notifyDone();
- }, true);
+ function canplaythrough()
+ {
+ video.currentTime = 1;
+ }
- setSrcByTagName("video", findMediaFile("video", "../../media/content/counting"));
+ function doTest()
+ {
+ findMediaElement();
+ waitForEvent('canplaythrough', canplaythrough);
+ waitForEvent('seeked', testComplete);
+ video.src = "" '../../media/content/counting');
}
- window.addEventListener('load', setupTest, false);
+ window.addEventListener('load', doTest, false);
</script>
+ <script src=""
</head>
<body>
<video></video>
Modified: trunk/LayoutTests/compositing/video/video-border-radius-clipping.html (253309 => 253310)
--- trunk/LayoutTests/compositing/video/video-border-radius-clipping.html 2019-12-10 00:53:23 UTC (rev 253309)
+++ trunk/LayoutTests/compositing/video/video-border-radius-clipping.html 2019-12-10 00:57:59 UTC (rev 253310)
@@ -9,7 +9,7 @@
margin: 50px;
width: 500.25px;
}
-
+
.obscurer {
position: absolute;
width: 14px;
@@ -19,32 +19,31 @@
</style>
<script src=""
<script>
- if (window.testRunner)
- testRunner.waitUntilDone();
+ var requirePixelDump = true;
+ var video;
- function setupTest()
+ function testComplete()
{
- var totalCount = document.getElementsByTagName('video').length;
- var count = totalCount;
- document.addEventListener("canplaythrough", function () {
- if (!--count && window.testRunner) {
- setTimeout(function() {
- testRunner.notifyDone();
- }, totalCount * 150);
- }
- }, true);
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }
- document.addEventListener("error", function (event) {
- console.log("Video " + event.target.getAttribute("name") + " failed to load, error " + event.target.error.code);
- if (window.testRunner)
- testRunner.notifyDone();
- }, true);
+ function canplaythrough()
+ {
+ video.currentTime = 1;
+ }
- setSrcByTagName("video", findMediaFile("video", "../../media/content/counting"));
+ function doTest()
+ {
+ findMediaElement();
+ waitForEvent('canplaythrough', canplaythrough);
+ waitForEvent('seeked', testComplete);
+ video.src = "" '../../media/content/counting');
}
- window.addEventListener('load', setupTest, false);
+ window.addEventListener('load', doTest, false);
</script>
+ <script src=""
</head>
<body>
<video></video>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes