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

Unified Diff: LayoutTests/http/tests/multipart/policy-ignore-crash.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/policy-ignore-crash.php
diff --git a/LayoutTests/http/tests/multipart/policy-ignore-crash.php b/LayoutTests/http/tests/multipart/policy-ignore-crash.php
deleted file mode 100644
index 09b59494fecfe242e7c8ff94b700ea0bc9c677e7..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/multipart/policy-ignore-crash.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-header('Content-type: multipart/x-mixed-replace;boundary=asdf');
-?>--asdf
-Content-type: text/html
-
-<p>This test passes if it does not crash.</p>
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-</script>
-
-<?php
-# Add some padding because CFNetwork merges small multipart segments together.
-echo str_pad('', 5000);
-
-ob_flush();
-flush();
-?>
---asdf
-Content-type: text/rtf
-
-This chunk has an unsupported text mime type, which can cause the policy
-for this load to be ignored. This causes the request to be canceled.
-
-<?php
-# Add some padding because CFNetwork merges small multipart segments together.
-echo str_pad('', 5000);
-?>
-
---asdf--

Powered by Google App Engine
This is Rietveld 408576698