2011-04-25 Mihai Parparita <mihaip@chromium.org>
authormihaip@chromium.org <mihaip@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Apr 2011 02:02:29 +0000 (02:02 +0000)
committermihaip@chromium.org <mihaip@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Apr 2011 02:02:29 +0000 (02:02 +0000)
        Reviewed by Tony Chang.

        Convert fast/loader/start-load-in-unload.html to dumpAsText
        https://bugs.webkit.org/show_bug.cgi?id=59384

        * fast/loader/start-load-in-unload-expected.txt: Added.
        * fast/loader/start-load-in-unload.html:
        * platform/chromium-linux/fast/loader/start-load-in-unload-expected.png: Removed.
        * platform/chromium-win/fast/loader/start-load-in-unload-expected.png: Removed.
        * platform/chromium-win/fast/loader/start-load-in-unload-expected.txt: Removed.
        * platform/gtk/fast/loader/start-load-in-unload-expected.png: Removed.
        * platform/gtk/fast/loader/start-load-in-unload-expected.txt: Removed.
        * platform/mac-leopard/fast/loader/start-load-in-unload-expected.png: Removed.
        * platform/mac/fast/loader/start-load-in-unload-expected.png: Removed.
        * platform/mac/fast/loader/start-load-in-unload-expected.txt: Removed.
        * platform/qt/fast/loader/start-load-in-unload-expected.txt: Removed.

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

12 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/loader/start-load-in-unload-expected.txt [new file with mode: 0644]
LayoutTests/fast/loader/start-load-in-unload.html
LayoutTests/platform/chromium-linux/fast/loader/start-load-in-unload-expected.png [deleted file]
LayoutTests/platform/chromium-win/fast/loader/start-load-in-unload-expected.png [deleted file]
LayoutTests/platform/chromium-win/fast/loader/start-load-in-unload-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/loader/start-load-in-unload-expected.png [deleted file]
LayoutTests/platform/gtk/fast/loader/start-load-in-unload-expected.txt [deleted file]
LayoutTests/platform/mac-leopard/fast/loader/start-load-in-unload-expected.png [deleted file]
LayoutTests/platform/mac/fast/loader/start-load-in-unload-expected.png [deleted file]
LayoutTests/platform/mac/fast/loader/start-load-in-unload-expected.txt [deleted file]
LayoutTests/platform/qt/fast/loader/start-load-in-unload-expected.txt [deleted file]

index 26ac85e..6d8ffc4 100644 (file)
@@ -1,3 +1,22 @@
+2011-04-25  Mihai Parparita  <mihaip@chromium.org>
+
+        Reviewed by Tony Chang.
+
+        Convert fast/loader/start-load-in-unload.html to dumpAsText
+        https://bugs.webkit.org/show_bug.cgi?id=59384
+
+        * fast/loader/start-load-in-unload-expected.txt: Added.
+        * fast/loader/start-load-in-unload.html:
+        * platform/chromium-linux/fast/loader/start-load-in-unload-expected.png: Removed.
+        * platform/chromium-win/fast/loader/start-load-in-unload-expected.png: Removed.
+        * platform/chromium-win/fast/loader/start-load-in-unload-expected.txt: Removed.
+        * platform/gtk/fast/loader/start-load-in-unload-expected.png: Removed.
+        * platform/gtk/fast/loader/start-load-in-unload-expected.txt: Removed.
+        * platform/mac-leopard/fast/loader/start-load-in-unload-expected.png: Removed.
+        * platform/mac/fast/loader/start-load-in-unload-expected.png: Removed.
+        * platform/mac/fast/loader/start-load-in-unload-expected.txt: Removed.
+        * platform/qt/fast/loader/start-load-in-unload-expected.txt: Removed.
+
 2011-04-25  Tony Chang  <tony@chromium.org>
 
         Reviewed by Antonio Gomes.
diff --git a/LayoutTests/fast/loader/start-load-in-unload-expected.txt b/LayoutTests/fast/loader/start-load-in-unload-expected.txt
new file mode 100644 (file)
index 0000000..59bfb8b
--- /dev/null
@@ -0,0 +1,2 @@
+main frame - has 1 onunload handler(s)
+ This test verifies that starting a subresource load from an unload handler does not cause crashes or assertion failures.
index e6cf470..234aff8 100644 (file)
@@ -2,4 +2,8 @@
 <body onunload="document.getElementById('i').src = 'broken.jpg'">
 <img id="i" src="nosrc.jpg">
 This test verifies that starting a subresource load from an unload handler does not cause crashes or assertion failures.
+<script>
+if (window.layoutTestController)
+  layoutTestController.dumpAsText();
+</script>
 </body>
diff --git a/LayoutTests/platform/chromium-linux/fast/loader/start-load-in-unload-expected.png b/LayoutTests/platform/chromium-linux/fast/loader/start-load-in-unload-expected.png
deleted file mode 100644 (file)
index eafbdaa..0000000
Binary files a/LayoutTests/platform/chromium-linux/fast/loader/start-load-in-unload-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/fast/loader/start-load-in-unload-expected.png b/LayoutTests/platform/chromium-win/fast/loader/start-load-in-unload-expected.png
deleted file mode 100644 (file)
index 8119ce2..0000000
Binary files a/LayoutTests/platform/chromium-win/fast/loader/start-load-in-unload-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/fast/loader/start-load-in-unload-expected.txt b/LayoutTests/platform/chromium-win/fast/loader/start-load-in-unload-expected.txt
deleted file mode 100644 (file)
index 390f1f4..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-main frame - has 1 onunload handler(s)
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderImage {IMG} at (0,0) size 20x20
-      RenderText {#text} at (20,5) size 700x19
-        text run at (20,5) width 700: " This test verifies that starting a subresource load from an unload handler does not cause crashes or assertion failures."
diff --git a/LayoutTests/platform/gtk/fast/loader/start-load-in-unload-expected.png b/LayoutTests/platform/gtk/fast/loader/start-load-in-unload-expected.png
deleted file mode 100644 (file)
index 9d1e601..0000000
Binary files a/LayoutTests/platform/gtk/fast/loader/start-load-in-unload-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/loader/start-load-in-unload-expected.txt b/LayoutTests/platform/gtk/fast/loader/start-load-in-unload-expected.txt
deleted file mode 100644 (file)
index ed9054c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-main frame - has 1 onunload handler(s)
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderImage {IMG} at (0,0) size 20x20
-      RenderText {#text} at (20,5) size 732x19
-        text run at (20,5) width 732: " This test verifies that starting a subresource load from an unload handler does not cause crashes or assertion failures."
diff --git a/LayoutTests/platform/mac-leopard/fast/loader/start-load-in-unload-expected.png b/LayoutTests/platform/mac-leopard/fast/loader/start-load-in-unload-expected.png
deleted file mode 100644 (file)
index e940a15..0000000
Binary files a/LayoutTests/platform/mac-leopard/fast/loader/start-load-in-unload-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/loader/start-load-in-unload-expected.png b/LayoutTests/platform/mac/fast/loader/start-load-in-unload-expected.png
deleted file mode 100644 (file)
index 723c542..0000000
Binary files a/LayoutTests/platform/mac/fast/loader/start-load-in-unload-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/loader/start-load-in-unload-expected.txt b/LayoutTests/platform/mac/fast/loader/start-load-in-unload-expected.txt
deleted file mode 100644 (file)
index 63d4066..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-main frame - has 1 onunload handler(s)
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderImage {IMG} at (0,0) size 20x20
-      RenderText {#text} at (20,6) size 732x18
-        text run at (20,6) width 732: " This test verifies that starting a subresource load from an unload handler does not cause crashes or assertion failures."
diff --git a/LayoutTests/platform/qt/fast/loader/start-load-in-unload-expected.txt b/LayoutTests/platform/qt/fast/loader/start-load-in-unload-expected.txt
deleted file mode 100644 (file)
index 1969a77..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-main frame - has 1 onunload handler(s)
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderImage {IMG} at (0,0) size 20x20
-      RenderText {#text} at (20,4) size 755x44
-        text run at (20,4) width 735: " This test verifies that starting a subresource load from an unload handler does not cause crashes or assertion"
-        text run at (0,26) width 54: "failures."