Title: [93513] trunk/LayoutTests
- Revision
- 93513
- Author
- [email protected]
- Date
- 2011-08-22 10:07:55 -0700 (Mon, 22 Aug 2011)
Log Message
[GTK] Some GTK+-specific font-face tests fail on the bots
https://bugs.webkit.org/show_bug.cgi?id=65820
Fix the timing issues in this test.
Reviewed by Philippe Normand.
* platform/gtk/fonts/custom-font-missing-glyphs.html: Delay the test completion until
after document.readyState moves to "complete" and a short timeout.
* platform/gtk/fonts/font-face-with-complex-text.html: Ditto.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (93512 => 93513)
--- trunk/LayoutTests/ChangeLog 2011-08-22 16:02:11 UTC (rev 93512)
+++ trunk/LayoutTests/ChangeLog 2011-08-22 17:07:55 UTC (rev 93513)
@@ -1,3 +1,16 @@
+2011-08-22 Martin Robinson <[email protected]>
+
+ [GTK] Some GTK+-specific font-face tests fail on the bots
+ https://bugs.webkit.org/show_bug.cgi?id=65820
+
+ Fix the timing issues in this test.
+
+ Reviewed by Philippe Normand.
+
+ * platform/gtk/fonts/custom-font-missing-glyphs.html: Delay the test completion until
+ after document.readyState moves to "complete" and a short timeout.
+ * platform/gtk/fonts/font-face-with-complex-text.html: Ditto.
+
2011-08-22 Kristóf Kosztyó <[email protected]>
[NRWT] Fix "Only unexpected results" option of results.html
Modified: trunk/LayoutTests/platform/gtk/fonts/custom-font-missing-glyphs.html (93512 => 93513)
--- trunk/LayoutTests/platform/gtk/fonts/custom-font-missing-glyphs.html 2011-08-22 16:02:11 UTC (rev 93512)
+++ trunk/LayoutTests/platform/gtk/fonts/custom-font-missing-glyphs.html 2011-08-22 17:07:55 UTC (rev 93513)
@@ -6,6 +6,15 @@
font-family: MostlyEmptyFont;
}
</style>
+<script>
+if (window.layoutTestController) {
+ layoutTestController.waitUntilDone();
+ document._onreadystatechange_ = function() {
+ if (document.readyState === 'complete')
+ setTimeout(function() {layoutTestController.notifyDone();}, 100);
+ };
+}
+</script>
<body>
<div style="font-family: MostlyEmptyFont;">A B C D E F G H I J K L M N O P Q R S T U V W X Y Z</div>
</body>
Modified: trunk/LayoutTests/platform/gtk/fonts/font-face-with-complex-text.html (93512 => 93513)
--- trunk/LayoutTests/platform/gtk/fonts/font-face-with-complex-text.html 2011-08-22 16:02:11 UTC (rev 93512)
+++ trunk/LayoutTests/platform/gtk/fonts/font-face-with-complex-text.html 2011-08-22 17:07:55 UTC (rev 93513)
@@ -8,6 +8,15 @@
}
body { text-rendering: geometricPrecision; }
</style>
+<script>
+if (window.layoutTestController) {
+ layoutTestController.waitUntilDone();
+ document._onreadystatechange_ = function() {
+ if (document.readyState === 'complete')
+ setTimeout(function() {layoutTestController.notifyDone();}, 100);
+ };
+}
+</script>
</head>
<body>
<p>This text should be rendered with the default font:</p>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes