summaryrefslogtreecommitdiffstats
path: root/tests/org.eclipse.swt.tests/data
diff options
context:
space:
mode:
authorChristophe Cornu <ccornu>2003-11-25 19:10:01 +0000
committerChristophe Cornu <ccornu>2003-11-25 19:10:01 +0000
commit9ac563d598b74c64e08fe944870a8f408a3ef283 (patch)
tree6423d75701845aee53c04eeb1378abd3dae6271b /tests/org.eclipse.swt.tests/data
parenta4ee4710fc6e4a1d736dd84a3ba7c810a8050ad5 (diff)
downloadeclipse.platform.swt-9ac563d598b74c64e08fe944870a8f408a3ef283.tar.gz
eclipse.platform.swt-9ac563d598b74c64e08fe944870a8f408a3ef283.tar.xz
eclipse.platform.swt-9ac563d598b74c64e08fe944870a8f408a3ef283.zip
46751
Diffstat (limited to 'tests/org.eclipse.swt.tests/data')
-rw-r--r--tests/org.eclipse.swt.tests/data/browser3.html2
-rw-r--r--tests/org.eclipse.swt.tests/data/browser4.html10
-rw-r--r--tests/org.eclipse.swt.tests/data/browser4a.html14
3 files changed, 25 insertions, 1 deletions
diff --git a/tests/org.eclipse.swt.tests/data/browser3.html b/tests/org.eclipse.swt.tests/data/browser3.html
index 121ac108c7..01ea43ea8a 100644
--- a/tests/org.eclipse.swt.tests/data/browser3.html
+++ b/tests/org.eclipse.swt.tests/data/browser3.html
@@ -1,6 +1,6 @@
<html>
<script type="text/javascript">window.open("http://www.eclipse.org", "Dialog")</script>
<body>
-This tests uses javascript to open a new window.
+This test uses javascript to open a new window.
</body>
</html>
diff --git a/tests/org.eclipse.swt.tests/data/browser4.html b/tests/org.eclipse.swt.tests/data/browser4.html
new file mode 100644
index 0000000000..77e4bf506a
--- /dev/null
+++ b/tests/org.eclipse.swt.tests/data/browser4.html
@@ -0,0 +1,10 @@
+<html>
+<script type="text/javascript">
+ w = window.open("browser4a.html", "Dialog");
+ setTimeout("w.close()", 5000);
+</script>
+<body>
+<p>This test uses javascript.
+<p>It opens a new window. Sets a timer. Then close the new window when the timer expires.
+</body>
+</html>
diff --git a/tests/org.eclipse.swt.tests/data/browser4a.html b/tests/org.eclipse.swt.tests/data/browser4a.html
new file mode 100644
index 0000000000..7e3585827c
--- /dev/null
+++ b/tests/org.eclipse.swt.tests/data/browser4a.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+ <meta http-equiv="content-type"
+ content="text/html; charset=ISO-8859-1">
+ <title>simple page</title>
+</head>
+<body style="background-color: rgb(255, 204, 0); color: rgb(0, 0, 0);"
+ link="#0000ee" alink="#0000ee" vlink="#551a8b">
+<div style="text-align: center;"><big><big><big><big><big><big><span
+ style="font-weight: bold;">This is a simple page</span></big></big></big></big></big></big><br>
+</div>
+</body>
+</html>