Sign in
cobalt
/
cobalt
/
08a2e40cad2d5bd01c37c36c1fdffa2d431d01d7
/
.
/
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>