Convert a test to dump as text.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Apr 2011 23:41:46 +0000 (23:41 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Apr 2011 23:41:46 +0000 (23:41 +0000)
Reviewed by Sam Weinig.

* fast/dom/jsDevicePixelRatio-expected.txt: Added.
* fast/dom/jsDevicePixelRatio.html:
* platform/chromium-linux/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.txt: Removed.
* platform/gtk/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/gtk/fast/dom/jsDevicePixelRatio-expected.txt: Removed.
* platform/mac-leopard/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/mac/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/mac/fast/dom/jsDevicePixelRatio-expected.txt: Removed.
* platform/qt/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/qt/fast/dom/jsDevicePixelRatio-expected.txt: Removed.

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

13 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/jsDevicePixelRatio-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/jsDevicePixelRatio.html
LayoutTests/platform/chromium-linux/fast/dom/jsDevicePixelRatio-expected.png [deleted file]
LayoutTests/platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.png [deleted file]
LayoutTests/platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/dom/jsDevicePixelRatio-expected.png [deleted file]
LayoutTests/platform/gtk/fast/dom/jsDevicePixelRatio-expected.txt [deleted file]
LayoutTests/platform/mac-leopard/fast/dom/jsDevicePixelRatio-expected.png [deleted file]
LayoutTests/platform/mac/fast/dom/jsDevicePixelRatio-expected.png [deleted file]
LayoutTests/platform/mac/fast/dom/jsDevicePixelRatio-expected.txt [deleted file]
LayoutTests/platform/qt/fast/dom/jsDevicePixelRatio-expected.png [deleted file]
LayoutTests/platform/qt/fast/dom/jsDevicePixelRatio-expected.txt [deleted file]

index 4b11f90..0b151d9 100644 (file)
@@ -1,3 +1,22 @@
+2011-04-25  Dan Bernstein  <mitz@apple.com>
+
+        Reviewed by Sam Weinig.
+
+        Convert a test to dump as text.
+
+        * fast/dom/jsDevicePixelRatio-expected.txt: Added.
+        * fast/dom/jsDevicePixelRatio.html:
+        * platform/chromium-linux/fast/dom/jsDevicePixelRatio-expected.png: Removed.
+        * platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.png: Removed.
+        * platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.txt: Removed.
+        * platform/gtk/fast/dom/jsDevicePixelRatio-expected.png: Removed.
+        * platform/gtk/fast/dom/jsDevicePixelRatio-expected.txt: Removed.
+        * platform/mac-leopard/fast/dom/jsDevicePixelRatio-expected.png: Removed.
+        * platform/mac/fast/dom/jsDevicePixelRatio-expected.png: Removed.
+        * platform/mac/fast/dom/jsDevicePixelRatio-expected.txt: Removed.
+        * platform/qt/fast/dom/jsDevicePixelRatio-expected.png: Removed.
+        * platform/qt/fast/dom/jsDevicePixelRatio-expected.txt: Removed.
+
 2011-04-25  Philippe Normand  <pnormand@igalia.com>
 
         Unreviewed, GTK rebaseline and skip a couple of failing tests.
diff --git a/LayoutTests/fast/dom/jsDevicePixelRatio-expected.txt b/LayoutTests/fast/dom/jsDevicePixelRatio-expected.txt
new file mode 100644 (file)
index 0000000..e78cad7
--- /dev/null
@@ -0,0 +1 @@
+The user interface scale factor is 1.
index bd3fe6f..9d79997 100644 (file)
@@ -2,6 +2,8 @@
 <body>
 
 <script>
+    if (window.layoutTestController)
+        layoutTestController.dumpAsText();
     document.write("The user interface scale factor is " + devicePixelRatio + ".");
 </script>
 
diff --git a/LayoutTests/platform/chromium-linux/fast/dom/jsDevicePixelRatio-expected.png b/LayoutTests/platform/chromium-linux/fast/dom/jsDevicePixelRatio-expected.png
deleted file mode 100644 (file)
index 80595f2..0000000
Binary files a/LayoutTests/platform/chromium-linux/fast/dom/jsDevicePixelRatio-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.png b/LayoutTests/platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.png
deleted file mode 100644 (file)
index fd9d927..0000000
Binary files a/LayoutTests/platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.txt b/LayoutTests/platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.txt
deleted file mode 100644 (file)
index 39093eb..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-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
-      RenderText {#text} at (0,0) size 209x19
-        text run at (0,0) width 209: "The user interface scale factor is 1."
diff --git a/LayoutTests/platform/gtk/fast/dom/jsDevicePixelRatio-expected.png b/LayoutTests/platform/gtk/fast/dom/jsDevicePixelRatio-expected.png
deleted file mode 100644 (file)
index 23b2d59..0000000
Binary files a/LayoutTests/platform/gtk/fast/dom/jsDevicePixelRatio-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/dom/jsDevicePixelRatio-expected.txt b/LayoutTests/platform/gtk/fast/dom/jsDevicePixelRatio-expected.txt
deleted file mode 100644 (file)
index 653dd78..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-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
-      RenderText {#text} at (0,0) size 218x19
-        text run at (0,0) width 218: "The user interface scale factor is 1."
diff --git a/LayoutTests/platform/mac-leopard/fast/dom/jsDevicePixelRatio-expected.png b/LayoutTests/platform/mac-leopard/fast/dom/jsDevicePixelRatio-expected.png
deleted file mode 100644 (file)
index 82e85fa..0000000
Binary files a/LayoutTests/platform/mac-leopard/fast/dom/jsDevicePixelRatio-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/dom/jsDevicePixelRatio-expected.png b/LayoutTests/platform/mac/fast/dom/jsDevicePixelRatio-expected.png
deleted file mode 100644 (file)
index 8da598a..0000000
Binary files a/LayoutTests/platform/mac/fast/dom/jsDevicePixelRatio-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/dom/jsDevicePixelRatio-expected.txt b/LayoutTests/platform/mac/fast/dom/jsDevicePixelRatio-expected.txt
deleted file mode 100644 (file)
index 77721c9..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-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
-      RenderText {#text} at (0,0) size 218x18
-        text run at (0,0) width 218: "The user interface scale factor is 1."
diff --git a/LayoutTests/platform/qt/fast/dom/jsDevicePixelRatio-expected.png b/LayoutTests/platform/qt/fast/dom/jsDevicePixelRatio-expected.png
deleted file mode 100644 (file)
index 1a9b12b..0000000
Binary files a/LayoutTests/platform/qt/fast/dom/jsDevicePixelRatio-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/dom/jsDevicePixelRatio-expected.txt b/LayoutTests/platform/qt/fast/dom/jsDevicePixelRatio-expected.txt
deleted file mode 100644 (file)
index 6190bfd..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-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
-      RenderText {#text} at (0,0) size 233x22
-        text run at (0,0) width 233: "The user interface scale factor is 1."