diff --git a/test/test/util/layout_tests.js b/test/test/util/layout_tests.js index 2376060c63..05ba5d1de2 100644 --- a/test/test/util/layout_tests.js +++ b/test/test/util/layout_tests.js @@ -178,7 +178,7 @@ shaka.test.TextLayoutTests = class extends shaka.test.LayoutTests { // We only trust Safari for native text layout tests if explicitly flagged. // We only do this in our lab, where we control device a11y settings that // impact these tests heavily. - if (shaka.util.Platform.safariVersion() && + if (shaka.util.Platform.isApple() && !getClientArg('trustSafariNativeTextLayout')) { return false; } @@ -188,13 +188,6 @@ shaka.test.TextLayoutTests = class extends shaka.test.LayoutTests { return false; } - // Due to updates in the rendering and/or default styles in Chrome, the - // screenshots for native rendering only match in Chrome 106+. - const chromeVersion = shaka.util.Platform.chromeVersion(); - if (chromeVersion && chromeVersion < 106) { - return false; - } - return true; }