http/tests/multipart/multipart-replace-non-html-content.php shouldn't exercise
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Oct 2015 18:05:17 +0000 (18:05 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Oct 2015 18:05:17 +0000 (18:05 +0000)
edge cases of multipart parsing
https://bugs.webkit.org/show_bug.cgi?id=149978
rdar://problem/22981062

Reviewed by Anders Carlsson.

This test is not about HTTP edge cases, but about handling of multipart content in WebKit.

* http/tests/multipart/multipart-replace-non-html-content.php:
* platform/mac/http/tests/multipart/multipart-replace-non-html-content-expected.txt: Removed.
* platform/win/TestExpectations:

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

LayoutTests/ChangeLog
LayoutTests/http/tests/multipart/multipart-replace-non-html-content.php
LayoutTests/platform/mac/http/tests/multipart/multipart-replace-non-html-content-expected.txt [deleted file]
LayoutTests/platform/win/TestExpectations

index ade2fe6..f95e2a3 100644 (file)
@@ -1,3 +1,18 @@
+2015-10-13  Alexey Proskuryakov  <ap@apple.com>
+
+        http/tests/multipart/multipart-replace-non-html-content.php shouldn't exercise
+        edge cases of multipart parsing
+        https://bugs.webkit.org/show_bug.cgi?id=149978
+        rdar://problem/22981062
+
+        Reviewed by Anders Carlsson.
+
+        This test is not about HTTP edge cases, but about handling of multipart content in WebKit.
+
+        * http/tests/multipart/multipart-replace-non-html-content.php:
+        * platform/mac/http/tests/multipart/multipart-replace-non-html-content-expected.txt: Removed.
+        * platform/win/TestExpectations:
+
 2015-10-13  Zalan Bujtas  <zalan@apple.com>
 
         [iOS] Update anonymous table results for iOS port.
index bbb844e..a4819dd 100644 (file)
@@ -13,14 +13,13 @@ if (window.testRunner)
 
 <?php
 for ($i = 0; $i <= 10; $i++) {
-    echo "--boundary\r\n";
+    echo "\r\n--boundary\r\n";
     echo "Content-Type: text/plain\r\n\r\n";
     echo "This text should only appear once ";
     echo $i;
     echo str_pad('', 5000);
-    echo "\r\n\r\n";
     flush();
     usleep(100000);
-    $i++;
 }
+echo "\r\n\r\n\r\n--boundary--\r\n";
 ?>
diff --git a/LayoutTests/platform/mac/http/tests/multipart/multipart-replace-non-html-content-expected.txt b/LayoutTests/platform/mac/http/tests/multipart/multipart-replace-non-html-content-expected.txt
deleted file mode 100644 (file)
index 100c434..0000000
+++ /dev/null
@@ -1 +0,0 @@
-This text should only appear once 10                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
index 6555bc6..75c4f56 100644 (file)
@@ -2313,7 +2313,6 @@ http/tests/misc/async-script-removed.html [ Failure ]
 http/tests/misc/bad-charset-alias.html
 http/tests/misc/refresh-headers.php [ Failure ] # Easy
 http/tests/multipart/load-last-non-html-frame.php [ Failure ] # Extra whitespace
-http/tests/multipart/multipart-replace-non-html-content.php [ Failure ] # Extra whitespace
 http/tests/navigation/no-referrer-reset.html [ Failure ] # Easy
 http/tests/navigation/no-referrer-same-window.html [ Failure ] # Easy
 http/tests/navigation/no-referrer-subframe.html [ Failure ] # Easy