Bug 1332970 - Allow assertion in test_restyles.html; r=hiro, a=test-only
authorGeoff Brown <gbrown@mozilla.com>
Mon, 29 May 2017 16:03:51 -0600
changeset 394122 3772e7cf04c75ba3c7a000a15ee0439161ee77ba
parent 394121 cec923727fe67e7e8a8435b55b77bc05d633254f
child 394123 6bb1fb5f97c9416a2a547218770092593e408751
push id7370
push userryanvm@gmail.com
push dateTue, 30 May 2017 18:45:25 +0000
treeherdermozilla-beta@b6b58f56432a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershiro, test-only
bugs1332970
milestone54.0
Bug 1332970 - Allow assertion in test_restyles.html; r=hiro, a=test-only Frequent intermittent assertions have been happening for a long time.
dom/animation/test/chrome/test_restyles.html
--- a/dom/animation/test/chrome/test_restyles.html
+++ b/dom/animation/test/chrome/test_restyles.html
@@ -57,16 +57,17 @@ function observeStyling(frameCount, onFr
 
 function ensureElementRemoval(aElement) {
   return new Promise(function(resolve) {
     aElement.remove();
     waitForAllPaintsFlushed(resolve);
   });
 }
 
+SimpleTest.expectAssertions(0, 1); // bug 1332970
 SimpleTest.waitForExplicitFinish();
 
 var omtaEnabled = isOMTAEnabled();
 
 var isAndroid = !!navigator.userAgent.includes("Android");
 
 function add_task_if_omta_enabled(test) {
   if (!omtaEnabled) {