Bug 1245830 - Remove an unnecessary assertion that can fail due to timing. r=botond

--HG--
extra : commitid : EvIy7LcjUdX
This commit is contained in:
Kartikaya Gupta 2016-02-05 16:31:15 -05:00
Родитель 730d44a1af
Коммит af75f92c75
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -178,12 +178,11 @@ function* runTest() {
// Scroll on inner3. inner3 isn't layerized, and this will cause it to
// get layerized, but it will also trigger displayport expiration for inner3
// which will eventually trigger displayport expiration on outer3.
// which will eventually trigger displayport expiration on inner3 and outer3.
yield scrollWheelOver(document.getElementById('outer3').contentDocument.getElementById('inner3'));
yield waitForAllPaints(function() {
flushApzRepaints(driveTest);
});
ok(isLayerized('inner3'), "inner3 becomes layerized after scroll");
yield setTimeout(driveTest, DISPLAYPORT_EXPIRY);
yield waitForAllPaints(callDriveTestAsync);
ok(!isLayerized('inner3'), "inner3 becomes unlayerized after expiry");