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]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
events
/
touch
/
gesture
/
resources
/
context-menu-on-two-finger-tap-iframe-inner.html
blob
e8442b63e9956a81d828f4ed284c892a6b4e5a09
1
<!DOCTYPE
html
>
2
<html>
3
<style>
4
body {
5
background-color: red;
6
}
7
</style>
8
<body
onload='runTest()'
>
9
</body>
10
<script>
11
function
onContextMenu
(
event
) {
12
if
(
window
!=
window
.
parent
&&
window
.
parent
==
window
.
top
)
13
parent
.
recordContextMenu
(
event
);
14
}
15
16
function
runTest
() {
17
document
.
addEventListener
(
'contextmenu'
,
onContextMenu
);
18
parent
.
runTest
();
19
}
20
</script>
21
</html>