Files
firefox/testing/web-platform/tests/reporting/resources/generate-report.https.sub.html
Simon Farre 6d668ec08f Bug 2013863 Part 2: Fix WPT tests r=smaug
WPT has deprecation tests do webkitRequestAnimationFrame().

We don't have that function exposed at all. Instead fallback to
"window.fullScreen;" as this will trigger a deprecation warning in Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D281436
2026-02-19 01:41:45 +00:00

11 lines
253 B
HTML

<!DOCTYPE HTML>
<meta charset=utf-8>
<title>Generate deprecation report</title>
<script>
if (typeof window.webkitRequestAnimationFrame === "function") {
window.webkitRequestAnimationFrame(() => {});
} else {
window.fullScreen;
}
</script>