Title: [129557] trunk/LayoutTests
Revision
129557
Author
[email protected]
Date
2012-09-25 14:52:43 -0700 (Tue, 25 Sep 2012)

Log Message

Moving this test which was added with
http://trac.webkit.org/changeset/129535
since it fails on the WK1 bots. Making it WK2-only for now.

* http/tests/plugins/get-url-beforeunload-destroys-plugin-expected.txt: Removed.
* http/tests/plugins/get-url-beforeunload-destroys-plugin.html: Removed.
* http/tests/plugins/resources/notify-done.html: Removed.
* platform/mac-wk2/http/tests/plugins: Added.
* platform/mac-wk2/http/tests/plugins/get-url-beforeunload-destroys-plugin-expected.txt: Added.
* platform/mac-wk2/http/tests/plugins/get-url-beforeunload-destroys-plugin.html: Added.
* platform/mac-wk2/http/tests/plugins/resources: Added.
* platform/mac-wk2/http/tests/plugins/resources/notify-done.html: Added.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (129556 => 129557)


--- trunk/LayoutTests/ChangeLog	2012-09-25 21:40:23 UTC (rev 129556)
+++ trunk/LayoutTests/ChangeLog	2012-09-25 21:52:43 UTC (rev 129557)
@@ -1,3 +1,18 @@
+2012-09-25  Beth Dakin  <[email protected]>
+
+        Moving this test which was added with
+        http://trac.webkit.org/changeset/129535
+        since it fails on the WK1 bots. Making it WK2-only for now.
+
+        * http/tests/plugins/get-url-beforeunload-destroys-plugin-expected.txt: Removed.
+        * http/tests/plugins/get-url-beforeunload-destroys-plugin.html: Removed.
+        * http/tests/plugins/resources/notify-done.html: Removed.
+        * platform/mac-wk2/http/tests/plugins: Added.
+        * platform/mac-wk2/http/tests/plugins/get-url-beforeunload-destroys-plugin-expected.txt: Added.
+        * platform/mac-wk2/http/tests/plugins/get-url-beforeunload-destroys-plugin.html: Added.
+        * platform/mac-wk2/http/tests/plugins/resources: Added.
+        * platform/mac-wk2/http/tests/plugins/resources/notify-done.html: Added.
+
 2012-09-25  Csaba Osztrogonác  <[email protected]>
 
         [Qt] Unreviewed gardening, skip failing tests.

Deleted: trunk/LayoutTests/http/tests/plugins/get-url-beforeunload-destroys-plugin-expected.txt (129556 => 129557)


--- trunk/LayoutTests/http/tests/plugins/get-url-beforeunload-destroys-plugin-expected.txt	2012-09-25 21:40:23 UTC (rev 129556)
+++ trunk/LayoutTests/http/tests/plugins/get-url-beforeunload-destroys-plugin-expected.txt	2012-09-25 21:52:43 UTC (rev 129557)
@@ -1 +0,0 @@
-

Deleted: trunk/LayoutTests/http/tests/plugins/get-url-beforeunload-destroys-plugin.html (129556 => 129557)


--- trunk/LayoutTests/http/tests/plugins/get-url-beforeunload-destroys-plugin.html	2012-09-25 21:40:23 UTC (rev 129556)
+++ trunk/LayoutTests/http/tests/plugins/get-url-beforeunload-destroys-plugin.html	2012-09-25 21:52:43 UTC (rev 129557)
@@ -1,28 +0,0 @@
-<html>
-<body _onbeforeunload_="accessPlugin()">
-This tests that NPN_GetURL causing the beforeunload event handler to destroy the plug-in doesn't crash.
- 
-<object name="plg" type="application/x-webkit-test-netscape"></object>
-
-<script>
-    function accessPlugin()
-    {
-        var objects = document.getElementsByTagName("object");
-        for (var i = 0; i < objects.length; ++i) {
-            objects[i].style.display = "none";
-            for (var x in objects[i]) {
-                if (typeof objects[i][x] == "function")
-                    objects[i][x] = function() {};
-            }
-        }
-    }
-    
-    if (window.testRunner) {
-        testRunner.dumpAsText();
-        testRunner.waitUntilDone();
-    }
-
-    plg.getURL("resources/notify-done.html", "_self");
-</script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/plugins/resources/notify-done.html (129556 => 129557)


--- trunk/LayoutTests/http/tests/plugins/resources/notify-done.html	2012-09-25 21:40:23 UTC (rev 129556)
+++ trunk/LayoutTests/http/tests/plugins/resources/notify-done.html	2012-09-25 21:52:43 UTC (rev 129557)
@@ -1,4 +0,0 @@
-<script>
-    if (window.testRunner)
-        testRunner.notifyDone();
-</script>

Added: trunk/LayoutTests/platform/mac-wk2/http/tests/plugins/get-url-beforeunload-destroys-plugin-expected.txt (0 => 129557)


--- trunk/LayoutTests/platform/mac-wk2/http/tests/plugins/get-url-beforeunload-destroys-plugin-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-wk2/http/tests/plugins/get-url-beforeunload-destroys-plugin-expected.txt	2012-09-25 21:52:43 UTC (rev 129557)
@@ -0,0 +1 @@
+

Added: trunk/LayoutTests/platform/mac-wk2/http/tests/plugins/get-url-beforeunload-destroys-plugin.html (0 => 129557)


--- trunk/LayoutTests/platform/mac-wk2/http/tests/plugins/get-url-beforeunload-destroys-plugin.html	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-wk2/http/tests/plugins/get-url-beforeunload-destroys-plugin.html	2012-09-25 21:52:43 UTC (rev 129557)
@@ -0,0 +1,28 @@
+<html>
+<body _onbeforeunload_="accessPlugin()">
+This tests that NPN_GetURL causing the beforeunload event handler to destroy the plug-in doesn't crash.
+ 
+<object name="plg" type="application/x-webkit-test-netscape"></object>
+
+<script>
+    function accessPlugin()
+    {
+        var objects = document.getElementsByTagName("object");
+        for (var i = 0; i < objects.length; ++i) {
+            objects[i].style.display = "none";
+            for (var x in objects[i]) {
+                if (typeof objects[i][x] == "function")
+                    objects[i][x] = function() {};
+            }
+        }
+    }
+    
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
+    }
+
+    plg.getURL("resources/notify-done.html", "_self");
+</script>
+</body>
+</html>

Added: trunk/LayoutTests/platform/mac-wk2/http/tests/plugins/resources/notify-done.html (0 => 129557)


--- trunk/LayoutTests/platform/mac-wk2/http/tests/plugins/resources/notify-done.html	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-wk2/http/tests/plugins/resources/notify-done.html	2012-09-25 21:52:43 UTC (rev 129557)
@@ -0,0 +1,4 @@
+<script>
+    if (window.testRunner)
+        testRunner.notifyDone();
+</script>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to