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

Unified Diff: LayoutTests/http/tests/cookies/resources/setArraycookies-result.php

Issue 216553010: Remove carriage returns from LayoutTests (04) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/cookies/resources/setArraycookies-result.php
diff --git a/LayoutTests/http/tests/cookies/resources/setArraycookies-result.php b/LayoutTests/http/tests/cookies/resources/setArraycookies-result.php
index 5ab1d08f91e7566cf3d7c56fa3910e43b5e4c98f..0484e483750976cade681dc408c8aba8f5be8040 100644
--- a/LayoutTests/http/tests/cookies/resources/setArraycookies-result.php
+++ b/LayoutTests/http/tests/cookies/resources/setArraycookies-result.php
@@ -1,34 +1,34 @@
-<html>
-<head>
-<script>
- function run(){
- // Reading the Cooikes using PHP
- var cookie = "<?php if (isset($_COOKIE['setArraycookie'])) {
- foreach ($_COOKIE['setArraycookie'] as $name => $value) {
- $name = htmlspecialchars($name);
- $value = htmlspecialchars($value);
- echo "$name : $value";
- }
- }
- ?>";
-
- var status = "Fail";
- if (cookie == "three : cookiethreetwo : cookietwoone : cookieone") {
- document.getElementById("test").innerHTML = "<b>Passed</b>";
- status = "Pass";
- } else
- document.getElementById("test").innerHTML = "<b>Failed</b>";
- }
-if (window.testRunner)
- testRunner.dumpAsText();
-
-</script>
-</head>
-<body onload="run()">
-<p>This test case to set a Array of Cookie size of 3 and check if it's been correctly set and in order.<br />If the Test case was successful, Then it should print Passed below!! </p><br/>
-<div id="test">
-Not Working!!
-</div>
-</body>
-</html>
-
+<html>
+<head>
+<script>
+ function run(){
+ // Reading the Cooikes using PHP
+ var cookie = "<?php if (isset($_COOKIE['setArraycookie'])) {
+ foreach ($_COOKIE['setArraycookie'] as $name => $value) {
+ $name = htmlspecialchars($name);
+ $value = htmlspecialchars($value);
+ echo "$name : $value";
+ }
+ }
+ ?>";
+
+ var status = "Fail";
+ if (cookie == "three : cookiethreetwo : cookietwoone : cookieone") {
+ document.getElementById("test").innerHTML = "<b>Passed</b>";
+ status = "Pass";
+ } else
+ document.getElementById("test").innerHTML = "<b>Failed</b>";
+ }
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+</script>
+</head>
+<body onload="run()">
+<p>This test case to set a Array of Cookie size of 3 and check if it's been correctly set and in order.<br />If the Test case was successful, Then it should print Passed below!! </p><br/>
+<div id="test">
+Not Working!!
+</div>
+</body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698