Title: [175986] trunk/LayoutTests
- Revision
- 175986
- Author
- [email protected]
- Date
- 2014-11-11 16:09:51 -0800 (Tue, 11 Nov 2014)
Log Message
compositing/video/video-border-radius.html frequently times out on 10.8
Add an error even listener, to at hopefully get a proper failure when this happens.
* compositing/video/video-border-radius.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (175985 => 175986)
--- trunk/LayoutTests/ChangeLog 2014-11-11 23:59:41 UTC (rev 175985)
+++ trunk/LayoutTests/ChangeLog 2014-11-12 00:09:51 UTC (rev 175986)
@@ -1,5 +1,13 @@
2014-11-11 Alexey Proskuryakov <[email protected]>
+ compositing/video/video-border-radius.html frequently times out on 10.8
+
+ Add an error even listener, to at hopefully get a proper failure when this happens.
+
+ * compositing/video/video-border-radius.html:
+
+2014-11-11 Alexey Proskuryakov <[email protected]>
+
inspector/css/matched-style-properties.html and inspector/css/selector-specificity.html
are very flaky on Mac
https://bugs.webkit.org/show_bug.cgi?id=138636
Modified: trunk/LayoutTests/compositing/video/video-border-radius.html (175985 => 175986)
--- trunk/LayoutTests/compositing/video/video-border-radius.html 2014-11-11 23:59:41 UTC (rev 175985)
+++ trunk/LayoutTests/compositing/video/video-border-radius.html 2014-11-12 00:09:51 UTC (rev 175986)
@@ -54,14 +54,19 @@
var totalCount = document.getElementsByTagName('video').length;
var count = totalCount;
document.addEventListener("canplaythrough", function () {
- if (!--count) {
- if (window.testRunner)
- setTimeout(function() {
- testRunner.notifyDone();
- }, totalCount * 150);
+ if (!--count && window.testRunner) {
+ setTimeout(function() {
+ testRunner.notifyDone();
+ }, totalCount * 150);
}
}, true);
+ 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);
+
setSrcByTagName("video", findMediaFile("video", "../../media/content/counting"));
}
</script>
@@ -70,12 +75,12 @@
<body _onload_="init();">
<div class="wrapper">
- <video></video>
+ <video name="1"></video>
<div class="obscurer"></div>
</div>
<div class="wrapper non-uniform" style="top: 100px;">
- <video></video>
+ <video name="2"></video>
<div class="obscurer"></div>
</div>
</body>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes