projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
LayoutTests
/
screen_orientation
/
resources
/
iframe-listen-window-orientationchange.html
1
<!DOCTYPE html>
2
<script>
3
window.addEventListener('orientationchange', function(event) {
4
parent.window.postMessage(window.orientation, "*");
5
});
6
window.onorientationchange = function(event) {
7
parent.window.postMessage(window.orientation, "*");
8
};
9
</script>