blob: a0e14750dd3bdb59e6de34459e07dd231b459437 [file] [log] [blame]
<!doctype html>
<!--
Tests that the WebXR API is not present if the flag to enable it is not set.
-->
<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>
</body>
<script>
var t = async_test("WebXR API is not visible");
if (navigator.xr) {
t.step( () => {
assert_unreached("API is visible");
});
}
t.done();
</script>
</html>