Bug 1076803 - Disable subtest 18 in test_font_loading_api.html for intermittent timeouts. r=philor
authorCameron McCormack <cam@mcc.id.au>
Mon, 06 Oct 2014 10:17:06 +1100
changeset 208911 ad8d4f7be999ff2205280fa37146b6d90b28456f
parent 208910 7fceb8bf84d2a79f7aafdefca064d90bf30f5c41
child 208912 4de43ef387d279e6eadefcb39c34a828822a7911
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersphilor
bugs1076803
milestone35.0a1
Bug 1076803 - Disable subtest 18 in test_font_loading_api.html for intermittent timeouts. r=philor
layout/style/test/test_font_loading_api.html
--- a/layout/style/test/test_font_loading_api.html
+++ b/layout/style/test/test_font_loading_api.html
@@ -300,16 +300,19 @@ function runTest() {
           is(aError.name, "SyntaxError", "FontFace.loaded with invalid family name " + aFamilyName + " should be rejected with a SyntaxError (TEST 17)");
         });
       });
     });
     return familyTests;
 
   }).then(function() {
 
+    // XXX Disabled this sub-test due to intermittent failures (bug 1076803).
+    return;
+
     // (TEST 18) Test passing valid url() source strings to the FontFace
     // constructor.
     var srcTests = Promise.resolve();
     gCSSFontFaceDescriptors.src.values.forEach(function(aSrc) {
       srcTests = srcTests.then(function() {
         var face = new FontFace("test", aSrc);
         return face.load().then(function() {
           ok(true, "FontFace should load with valid url() src " + aSrc + " (TEST 18)");