summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/context-click-unfocused-frame.html
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
commit8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (patch)
tree11425ea0b299d6fb89c6d3618a22d97d5bf68d0f /WebCore/manual-tests/context-click-unfocused-frame.html
parent648161bb0edfc3d43db63caed5cc5213bc6cb78f (diff)
downloadexternal_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.zip
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.gz
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebCore/manual-tests/context-click-unfocused-frame.html')
-rw-r--r--WebCore/manual-tests/context-click-unfocused-frame.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/WebCore/manual-tests/context-click-unfocused-frame.html b/WebCore/manual-tests/context-click-unfocused-frame.html
new file mode 100644
index 0000000..3e94e85
--- /dev/null
+++ b/WebCore/manual-tests/context-click-unfocused-frame.html
@@ -0,0 +1,17 @@
+<frameset cols="*">
+ <frame src="data:text/html,
+ <script>
+ function contextMenu()
+ {
+ document.getElementById('result').appendChild(document.createTextNode('PASS'));
+ }
+ </script>
+ <body onmousedown='return false;' oncontextmenu='contextMenu(); return false;'>
+ <p>
+ Control-click (Mac) or right-click (Windows) below. The word
+ %26ldquo;PASS%26rdquo; should appear. A contextual menu should not open.
+ </p>
+ <p id='result'></p>
+ </body>
+ ">
+</frameset>