Add two resources needed for the test added in r129944.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Sep 2012 21:41:18 +0000 (21:41 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Sep 2012 21:41:18 +0000 (21:41 +0000)
* plugins/resources/plugin-frame.html: Added.
* plugins/resources/plugin-page.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@129952 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/plugins/resources/plugin-frame.html [new file with mode: 0644]
LayoutTests/plugins/resources/plugin-page.html [new file with mode: 0644]

index 7c8adaf..2eaedd8 100644 (file)
@@ -1,3 +1,10 @@
+2012-09-28  Simon Fraser  <simon.fraser@apple.com>
+
+        Add two resources needed for the test added in r129944.
+
+        * plugins/resources/plugin-frame.html: Added.
+        * plugins/resources/plugin-page.html: Added.
+
 2012-09-28  Ojan Vafai  <ojan@chromium.org>
 
         Mark this test as Missing since it has no png on any platform.
diff --git a/LayoutTests/plugins/resources/plugin-frame.html b/LayoutTests/plugins/resources/plugin-frame.html
new file mode 100644 (file)
index 0000000..b05ae3c
--- /dev/null
@@ -0,0 +1,33 @@
+<html>
+<head>
+    <style type="text/css" media="screen">
+        body {
+            font-size: 24pt;
+        }
+        
+        embed {
+            background-color: black;
+        }
+    </style>
+    <script type="text/javascript" charset="utf-8">
+        function navigate()
+        {
+            top.location.href = 'target-frameset.html';
+        }
+        window.addEventListener('load', navigate, false);
+    </script>
+</head>
+
+<body>
+
+<table>
+    <tr>
+        <td><embed src="foo.swf" type="application/x-shockwave-flash"></td>
+    </tr>
+</table>
+<p>
+<a href="target-frameset.html" target="_top">Click me</a>
+</p>
+
+</body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/plugins/resources/plugin-page.html b/LayoutTests/plugins/resources/plugin-page.html
new file mode 100644 (file)
index 0000000..a95e21b
--- /dev/null
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+
+<html>
+<body>
+    <embed id="testPlugin" type="application/x-missing-plugin" width="200" height="200"></embed>
+</body>
+</html>