Bug 1332970 - Allow assertion in test_restyles.html; r=hiro
authorGeoff Brown <gbrown@mozilla.com>
Mon, 29 May 2017 16:03:51 -0600
changeset 586211 8c149fcc52964640c3c5f0e278939ab97aaf2def
parent 586210 3737f31a7ec3dcc68068e817b4b016b76c857d9e
child 586212 8a95271d11806957ebd8d842227e0227353b6ec3
push id61331
push userbmo:cpearce@mozilla.com
push dateMon, 29 May 2017 23:54:26 +0000
reviewershiro
bugs1332970
milestone55.0a1
Bug 1332970 - Allow assertion in test_restyles.html; r=hiro 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) {