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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/resources/post-and-verify-hybrid.cgi

Issue 2147633002: Remove nonstandard 'endings' option for Blob/File constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 3 years, 12 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: third_party/WebKit/LayoutTests/http/tests/resources/post-and-verify-hybrid.cgi
diff --git a/third_party/WebKit/LayoutTests/http/tests/resources/post-and-verify-hybrid.cgi b/third_party/WebKit/LayoutTests/http/tests/resources/post-and-verify-hybrid.cgi
index 9b2bf9818f4aa3239a2fefe765be44dd9f3c1745..94dbee533ee250e525187ad97187d2bc7b2f6feb 100755
--- a/third_party/WebKit/LayoutTests/http/tests/resources/post-and-verify-hybrid.cgi
+++ b/third_party/WebKit/LayoutTests/http/tests/resources/post-and-verify-hybrid.cgi
@@ -15,7 +15,6 @@ if ($ENV{'REQUEST_METHOD'} eq "POST") {
@values;
$values{'start'} = 0;
$values{'length'} = -1;
- $values{'convert_newlines'} = 0;
foreach $element (@list) {
($key, $value) = split(/=/, $element);
$values{$key} = $value;
@@ -71,11 +70,6 @@ if ($ENV{'REQUEST_METHOD'} eq "POST") {
}
}
- if ($values{'convert_newlines'}) {
- $nativeEnding = ($Config{osname} =~ /(MSWin|cygwin)/) ? "\r\n" : "\n";
- $postData =~ s/$nativeEnding/[NL]/g;
- }
-
if ($postData eq $expectedData) {
print "OK";
} else {

Powered by Google App Engine
This is Rietveld 408576698