blob: fd2eef580d057499bc2721db3cebd87800504089 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script>
addEventListener("deviceorientation", () => {});
internals.withUserGesture(() => {
DeviceOrientationEvent.requestPermission().then((result) => {
top.postMessage(result, "*");
});
});
</script>
</body>
</html>