summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativewebview/resources/newwindows.html
blob: 4252d9a7f1ef252711758cbeb8267c487322eb5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
<!--
function clickTheLink()
{
    var ev = document.createEvent('MouseEvents');
    ev.initEvent( "click", true, false );
    document.getElementById('thelink').dispatchEvent(ev);
}
// -->
</script>
</head>
<body>
<h1>Multiple windows...</h1>

<a id=thelink target="_blank" href="newwindows.html">Popup!</a>
</body>
</html>