From https://github.com/googlevr/webvr-polyfill/issues/271; the window.self !== window.top && window.top.origin !== window.self.origin solution does not work since the iframe does not have access to window.top.origin. Tested with local iframe example on different ports
From https://github.com/googlevr/webvr-polyfill/issues/271; the
window.self !== window.top && window.top.origin !== window.self.origin
solution does not work since the iframe does not have access towindow.top.origin
. Tested with local iframe example on different ports