Bug 1413370 - Drop isAndroid variable in file_restyles.html. r?birtles
It's no longer used since
bug 1458841.
MozReview-Commit-ID: 38UlQjtOVvo
--- a/dom/animation/test/mozilla/file_restyles.html
+++ b/dom/animation/test/mozilla/file_restyles.html
@@ -141,17 +141,16 @@ async function waitForAnimationReadyToRe
// restyling is needed in the frame so we have to wait one more frame.
if (animationStartsRightNow(aAnimation)) {
await waitForNextFrame();
}
}
var omtaEnabled = isOMTAEnabled();
-var isAndroid = !!navigator.userAgent.includes("Android");
const isWebRender =
SpecialPowers.DOMWindowUtils.layerManagerType == 'WebRender';
function add_task_if_omta_enabled(test) {
if (!omtaEnabled) {
info(test.name + " is skipped because OMTA is disabled");
return;
}