repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
content
/
test
/
data
/
screen_orientation
/
screen_orientation_lock_smoke.html
blob
25af22d67e8647010b023473112128fab2d6185c
1
<!DOCTYPE
HTML
>
2
<html>
3
<head>
4
</head>
5
<script>
6
screen
.
orientation
.
lock
(
'landscape'
).
then
(
function
() {
7
document
.
location
.
hash
=
8
screen
.
orientation
.
search
(
"landscape"
) ==
0
?
"#Pass"
:
"#Fail"
;
9
},
function
(
e
) {
10
document
.
location
.
hash
=
"#"
+
e
.
name
;
11
});
12
</script>
13
<body>
14
<div>
Starting...
</div>
15
</body>
16
</html>