| 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>
|
| +
|
|
|