Sign in
cobalt
/
cobalt
/
4a6dd9fddae25369d7353255865e6f226eeb4962
/
.
/
src
/
third_party
/
web_platform_tests
/
screen-orientation
/
resources
/
iframe-listen-orientation-change.html
blob: 760d952481f8a37f4fc3245184ff42a2bb063375 [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<script>
window
.
screen
.
orientation
.
addEventListener
(
'change'
,
function
()
{
parent
.
window
.
postMessage
(
screen
.
orientation
.
type
,
"*"
);
});
</script>