mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-21 11:40:34 -10:00
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
11 lines
253 B
HTML
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>
|