Bug 1332970 - Allow assertion in test_restyles.html; r=hiro
authorGeoff Brown <gbrown@mozilla.com>
Mon, 29 May 2017 16:03:51 -0600
changeset 361108 8c149fcc52964640c3c5f0e278939ab97aaf2def
parent 361107 3737f31a7ec3dcc68068e817b4b016b76c857d9e
child 361109 8a95271d11806957ebd8d842227e0227353b6ec3
push id90799
push usergbrown@mozilla.com
push dateMon, 29 May 2017 22:04:07 +0000
treeherdermozilla-inbound@8c149fcc5296 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershiro
bugs1332970
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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) {