Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Unified Diff: LayoutTests/http/tests/multipart/resources/multipart-wait-before-boundary.php

Issue 16848005: Remove support for multipart/x-mixed-replace (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/multipart/resources/multipart-wait-before-boundary.php
diff --git a/LayoutTests/http/tests/multipart/resources/multipart-wait-before-boundary.php b/LayoutTests/http/tests/multipart/resources/multipart-wait-before-boundary.php
deleted file mode 100644
index 801883dfb3b4395b7bc040d5b80280ac66c677c2..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/multipart/resources/multipart-wait-before-boundary.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
- if (isset($_GET['done'])) {
- header("Content-Type: text/html");
- echo("<script>parent.success()</script>");
- exit(0);
- }
-
- $boundary = "cutHere";
-
- function sendHeader()
- {
- global $boundary;
-
- echo("--$boundary\r\n");
- echo("Content-Type: text/html\r\n\r\n");
- flush();
- }
-
- header("Content-Type: multipart/x-mixed-replace; boundary=$boundary");
-
- // generate some padding to work around CFNetwork handling of multipart data
- $padding = "aa";
- for ($i = 0; $i < 10; $i++) {
- $padding .= $padding;
- }
-
- sendHeader();
- ob_end_flush();
- echo("test html\n");
- echo("<!-- $padding -->");
- flush();
- sendHeader();
- echo("second html");
- echo("<script>parent.childLoaded()</script>");
- echo("<!-- $padding -->");
- flush();
- sendHeader();
- echo("third html");
- echo("<!-- $padding -->");
- flush();
- usleep(20 * 1000000);
-?>

Powered by Google App Engine
This is Rietveld 408576698