diff options
Diffstat (limited to 'tests/org.eclipse.swt.tests/data/browser7.html')
-rw-r--r-- | tests/org.eclipse.swt.tests/data/browser7.html | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/org.eclipse.swt.tests/data/browser7.html b/tests/org.eclipse.swt.tests/data/browser7.html deleted file mode 100644 index c357d5363e..0000000000 --- a/tests/org.eclipse.swt.tests/data/browser7.html +++ /dev/null @@ -1,18 +0,0 @@ -<html> -<script type="text/javascript"> -win1 = window.open('javascript:"<h1>TEST window.open</h2><p>left=0,top=0,height=100,width=200</p>"', "", "left=0,top=0,height=200,width=300"); -win2 = window.open('javascript:"<h1>TEST window.open</h2><p>menubar=no,status=no,location=no,toolbar=no,resizable=no,left=301,top=0,height=600,width=200</p>"', "", "menubar=no,status=no,location=no,toolbar=no,resizable=no,left=301,top=0,height=600,width=200"); -win3 = window.open('javascript:"<h1>TEST window.open</h2><p>status=no,location=no,toolbar=yes,resizable=yes,left=0,top=201,height=400,width=300</p>"', "", "status=no,location=no,toolbar=yes,resizable=yes,left=0,top=201,height=400,width=300"); -win4 = window.open('javascript:"<h1>TEST window.open</h2><p>menubar=yes,status=yes,location=no,toolbar=no,resizable=no,left=0,top=601,height=200,width=500</p>"', "", "menubar=yes,status=yes,location=no,toolbar=no,resizable=no,left=0,top=601,height=200,width=500"); -</script> -<body> -<p>This test uses javascript. -<p>It opens a series of windows with different attributes. -<p>The buttons below can be used for manually testing various types of javascript windows. -<form> -<input type="button" value="bring alert(message)" onClick="alert('message')"> -<input type="button" value="window.print" onClick="window.print()"> -<input type="button" value="confirm" onClick="if (confirm('Press Ok or Cancel to confirm')) {alert('You pressed OK');} else {alert('You pressed Cancel');}"> -</form> -</body> -</html>
\ No newline at end of file |