Sign in
webkit
/
WebKit
/
f208291ebb5233b8d92ab682a30d20b4b4d23e1e
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
feature-policy
/
resources
/
feature-policy-webvr.html
blob: 64a152bf1ce784099562d9dfc11683b0b0d227e4 [
file
] [
log
] [
blame
]
<script>
'use strict'
;
Promise
.
resolve
().
then
(()
=>
navigator
.
getVRDisplays
()).
then
(
displays
=>
{
window
.
parent
.
postMessage
({
enabled
:
true
},
'*'
);
},
error
=>
{
window
.
parent
.
postMessage
({
enabled
:
false
},
'*'
);
});
</script>