diff options
Diffstat (limited to 'chrome/test/data/constrained_files')
-rw-r--r-- | chrome/test/data/constrained_files/openclose_main.html | 9 | ||||
-rw-r--r-- | chrome/test/data/constrained_files/openclose_one.html | 14 | ||||
-rw-r--r-- | chrome/test/data/constrained_files/openclose_two.html | 9 |
3 files changed, 32 insertions, 0 deletions
diff --git a/chrome/test/data/constrained_files/openclose_main.html b/chrome/test/data/constrained_files/openclose_main.html new file mode 100644 index 0000000..ab29af8 --- /dev/null +++ b/chrome/test/data/constrained_files/openclose_main.html @@ -0,0 +1,9 @@ +<html>
+<head>
+<title>Main</title>
+</head>
+
+<body onClick="window.open('openclose_one.html', 'mywindow', 'status=0,toolbar=0');">
+<h1>Click me</h1>
+</body>
+</html>
diff --git a/chrome/test/data/constrained_files/openclose_one.html b/chrome/test/data/constrained_files/openclose_one.html new file mode 100644 index 0000000..1bb8a80 --- /dev/null +++ b/chrome/test/data/constrained_files/openclose_one.html @@ -0,0 +1,14 @@ +<html>
+ <head>
+ <title>One</title>
+ <script>
+ function createDifferentWindow() {
+ window.open('openclose_two.html', 'window2', 'status=0,toolbar=0');
+ window.close();
+ }
+ </script>
+ </head>
+
+<body onLoad="createDifferentWindow();">
+</body>
+</html>
diff --git a/chrome/test/data/constrained_files/openclose_two.html b/chrome/test/data/constrained_files/openclose_two.html new file mode 100644 index 0000000..6c85e18 --- /dev/null +++ b/chrome/test/data/constrained_files/openclose_two.html @@ -0,0 +1,9 @@ +<html>
+ <head>
+ <title>Destination</title>
+ </head>
+
+<body>
+ <h1>It's here!</h1>
+</body>
+</html>
|