2011-05-31 Hao Zheng <zhenghao@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 May 2011 22:03:05 +0000 (22:03 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 May 2011 22:03:05 +0000 (22:03 +0000)
        Reviewed by Tony Chang.

        Flush output buffer of php.
        https://bugs.webkit.org/show_bug.cgi?id=56060

        On Lucid, the output buffer is enabled by default, but it's not
        enabled on Hardy. Fix test http/tests/loading/preload-slow-loading.php
        http://www.php.net/manual/en/function.ob-flush.php

        * http/tests/loading/preload-slow-loading.php:
        * platform/chromium/test_expectations.txt:

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

LayoutTests/ChangeLog
LayoutTests/http/tests/loading/preload-slow-loading.php
LayoutTests/platform/chromium/test_expectations.txt

index 046eba1..4dfe57f 100644 (file)
@@ -1,3 +1,17 @@
+2011-05-31  Hao Zheng  <zhenghao@chromium.org>
+
+        Reviewed by Tony Chang.
+
+        Flush output buffer of php.
+        https://bugs.webkit.org/show_bug.cgi?id=56060
+
+        On Lucid, the output buffer is enabled by default, but it's not
+        enabled on Hardy. Fix test http/tests/loading/preload-slow-loading.php
+        http://www.php.net/manual/en/function.ob-flush.php
+
+        * http/tests/loading/preload-slow-loading.php:
+        * platform/chromium/test_expectations.txt:
+
 2011-05-31  Adam Barth  <abarth@webkit.org>
 
         Add chromium-mac-leopard image results for these SVG tests.
index 2d08bcc..2cf7405 100644 (file)
@@ -13,6 +13,7 @@ if (window.layoutTestController) {
 </script>
 <script src="non-existant-1"></script>
 <?php
+ob_flush();
 flush();
 sleep(1);
 ?>
index 730d546..66e967d 100644 (file)
@@ -3080,7 +3080,6 @@ BUGCR75561 LEOPARD : fast/blockflow/text-orientation-basic.html = IMAGE
 // introduced by brarraclough in WK r80621
 BUGCR75562 : fast/js/array-proto-func-length-getter-except.html = TEXT
 
-BUGWK56060 LINUX : http/tests/loading/preload-slow-loading.php = TEXT
 BUGWK56060 LINUX X86_64 : svg/custom/pattern-excessive-malloc.svg = IMAGE
 BUGWK56060 LINUX : fast/images/favicon-as-image.html = IMAGE+TEXT