blob: 7ac45619df2adf3ff1c2c2c9a6cc3ec08066530f [file] [log] [blame]
<!doctype html>
<!--
Tests that window.rAF continues to fire during a non-immersive session.
-->
<html>
<head>
<link rel="stylesheet" type="text/css" href="../resources/webxr_e2e.css">
</head>
<body>
<canvas id="webgl-canvas"></canvas>
<script src="../../../../../../third_party/blink/web_tests/resources/testharness.js"></script>
<script src="../resources/webxr_e2e.js"></script>
<script src="../resources/webxr_boilerplate.js"></script>
<script>
var t = async_test("window.rAF fires during a non-immersive session");
onMagicWindowXRFrameCallback = function() {
window.requestAnimationFrame( () => {
t.done();
});
}
</script>
</body>
</html>