summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/context-click-unfocused-frame.html
blob: 3e94e857613d55263a58beb2f0ac9cded1df822b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>