diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativewebview/resources/newwindows.html')
-rw-r--r-- | tests/auto/declarative/qdeclarativewebview/resources/newwindows.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativewebview/resources/newwindows.html b/tests/auto/declarative/qdeclarativewebview/resources/newwindows.html new file mode 100644 index 00000000..4252d9a7 --- /dev/null +++ b/tests/auto/declarative/qdeclarativewebview/resources/newwindows.html @@ -0,0 +1,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> |