Layout Test platform/chromium/compositing/filters/background-filter-blur-outsets...
authordanakj@chromium.org <danakj@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Apr 2012 04:27:28 +0000 (04:27 +0000)
committerdanakj@chromium.org <danakj@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Apr 2012 04:27:28 +0000 (04:27 +0000)
https://bugs.webkit.org/show_bug.cgi?id=84072

Reviewed by Adrienne Walker.

Use onload and layoutTestController.display() to ensure the page is
loaded and compositor is ready before setting the background blur.

Also, smaller blur for faster test bots.

* platform/chromium-linux/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png:
* platform/chromium-linux/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.txt:
* platform/chromium/compositing/filters/background-filter-blur-off-axis.html:
* platform/chromium/compositing/filters/background-filter-blur-outsets.html:
* platform/chromium/compositing/filters/background-filter-blur.html:

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

LayoutTests/ChangeLog
LayoutTests/platform/chromium-linux/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png
LayoutTests/platform/chromium-linux/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.txt
LayoutTests/platform/chromium/compositing/filters/background-filter-blur-off-axis.html
LayoutTests/platform/chromium/compositing/filters/background-filter-blur-outsets.html
LayoutTests/platform/chromium/compositing/filters/background-filter-blur.html
LayoutTests/platform/chromium/test_expectations.txt

index 6ee8dfc..a4d7cd2 100644 (file)
@@ -1,3 +1,21 @@
+2012-04-23  Dana Jansens  <danakj@chromium.org>
+
+        Layout Test platform/chromium/compositing/filters/background-filter-blur-outsets.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=84072
+
+        Reviewed by Adrienne Walker.
+
+        Use onload and layoutTestController.display() to ensure the page is
+        loaded and compositor is ready before setting the background blur.
+
+        Also, smaller blur for faster test bots.
+
+        * platform/chromium-linux/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png:
+        * platform/chromium-linux/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.txt:
+        * platform/chromium/compositing/filters/background-filter-blur-off-axis.html:
+        * platform/chromium/compositing/filters/background-filter-blur-outsets.html:
+        * platform/chromium/compositing/filters/background-filter-blur.html:
+
 2012-04-23  Kenneth Russell  <kbr@google.com>
 
         Change ImageData to reference Uint8ClampedArray rather than CanvasPixelArray
index a8ffd0c..2052cfb 100644 (file)
Binary files a/LayoutTests/platform/chromium-linux/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png and b/LayoutTests/platform/chromium-linux/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png differ
index 5a4df44..a572122 100644 (file)
 </style>
 <script type="text/javascript">
   function setBlur() {
+    layoutTestController.display(); // Force compositor to start.
     var blurNode = window.document.getElementById('blur');
     window.internals.setBackgroundBlurOnNode(blurNode, 2);
-    layoutTestController.notifyDone();
   }
 
   if (window.layoutTestController) {
-    if (window.internals) {
-      layoutTestController.waitUntilDone();
-      window.setTimeout(setBlur, 0);
-    }
     layoutTestController.dumpAsText(true);
+    if (window.internals)
+      window.onload = setBlur;
   }
 </script>
 </head>
index f8793f2..978f337 100644 (file)
 </style>
 <script type="text/javascript">
   function setBlur() {
+    layoutTestController.display(); // Force compositor to start.
     var blurNode = window.document.getElementById('blur');
-    window.internals.setBackgroundBlurOnNode(blurNode, 10);
-    layoutTestController.notifyDone();
+    window.internals.setBackgroundBlurOnNode(blurNode, 5);
   }
 
   if (window.layoutTestController) {
-    if (window.internals) {
-      window.setTimeout(setBlur, 0);
-      layoutTestController.waitUntilDone();
-    }
     layoutTestController.dumpAsText(true);
+    if (window.internals)
+      window.onload = setBlur;
   }
 </script>
 </head>
index 2a9ec3f..d4c1b41 100644 (file)
 </style>
 <script type="text/javascript">
   function setBlur() {
+    layoutTestController.display(); // Force compositor to start.
     var blurNode = window.document.getElementById('blur');
     window.internals.setBackgroundBlurOnNode(blurNode, 2);
-    layoutTestController.notifyDone();
   }
 
   if (window.layoutTestController) {
-    if (window.internals) {
-      window.setTimeout(setBlur, 0);
-      layoutTestController.waitUntilDone();
-    }
     layoutTestController.dumpAsText(true);
+    if (window.internals)
+      window.onload = setBlur;
   }
 </script>
 </head>
index 484d716..9f9a35e 100644 (file)
@@ -765,8 +765,8 @@ WONTFIX SKIP : http/tests/media/video-cross-site.html = PASS FAIL TIMEOUT
 // data, so this test is not applicable.
 WONTFIX SKIP : compositing/video/video-background-color.html = FAIL
 
-BUGWK84072 LINUX RELEASE : platform/chromium/compositing/filters/background-filter-blur-outsets.html = TEXT
-BUGWK83886 LINUX DEBUG : platform/chromium/compositing/filters/background-filter-blur-outsets.html = PASS TEXT TIMEOUT
+// Rebaseline and enable this when the bug patch lands.
+BUGWK84072 : platform/chromium/compositing/filters/background-filter-blur-outsets.html = TIMEOUT FAIL
 
 // Pre-HTML5 parser quirks only apply to the mac port; we're not interested in
 // supporting that option.