Changeset 93513 in webkit


Ignore:
Timestamp:
Aug 22, 2011 10:07:55 AM (13 years ago)
Author:
Martin Robinson
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.
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r93508 r93513  
     12011-08-22  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Some GTK+-specific font-face tests fail on the bots
     4        https://bugs.webkit.org/show_bug.cgi?id=65820
     5
     6        Fix the timing issues in this test.
     7
     8        Reviewed by Philippe Normand.
     9
     10        * platform/gtk/fonts/custom-font-missing-glyphs.html: Delay the test completion until
     11        after document.readyState moves to "complete" and a short timeout.
     12        * platform/gtk/fonts/font-face-with-complex-text.html: Ditto.
     13
    1142011-08-22  Kristóf Kosztyó  <kkristof@inf.u-szeged.hu>
    215
  • trunk/LayoutTests/platform/gtk/fonts/custom-font-missing-glyphs.html

    r70688 r93513  
    77    }
    88</style>
     9<script>
     10if (window.layoutTestController) {
     11    layoutTestController.waitUntilDone();
     12    document.onreadystatechange = function() {
     13        if (document.readyState === 'complete')
     14            setTimeout(function() {layoutTestController.notifyDone();}, 100);
     15    };
     16}
     17</script>
    918<body>
    1019<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>
  • trunk/LayoutTests/platform/gtk/fonts/font-face-with-complex-text.html

    r69117 r93513  
    99    body { text-rendering: geometricPrecision; }
    1010</style>
     11<script>
     12if (window.layoutTestController) {
     13    layoutTestController.waitUntilDone();
     14    document.onreadystatechange = function() {
     15        if (document.readyState === 'complete')
     16            setTimeout(function() {layoutTestController.notifyDone();}, 100);
     17    };
     18}
     19</script>
    1120</head>
    1221<body>
Note: See TracChangeset for help on using the changeset viewer.