| Index: third_party/WebKit/LayoutTests/http/tests/cache/post-redirect-get.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/cache/post-redirect-get.php b/third_party/WebKit/LayoutTests/http/tests/cache/post-redirect-get.php
|
| index ce04ca2f108e777000900bc71591bbf0baea4b8b..0d80f104e01a3c64b9f9768b82a08963316a0ec8 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/cache/post-redirect-get.php
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/cache/post-redirect-get.php
|
| @@ -30,7 +30,7 @@ function logAndFinish(message)
|
| {
|
| document.getElementById("result").appendChild(document.createTextNode(message));
|
| var xhr = new XMLHttpRequest;
|
| - xhr.open("GET", "../resources/reset-temp-file.php?filename=post.tmp", false);
|
| + xhr.open("GET", "../resources/reset-temp-file.php?filename=post-redirect-get.tmp", false);
|
| xhr.send(null);
|
| if (window.testRunner)
|
| testRunner.notifyDone();
|
| @@ -41,19 +41,19 @@ clearstatcache();
|
| if ($_GET["finish"] == "true") {
|
| // The initial load of the image might have been done from the cache. In that case, touch the
|
| // state file to indicate a load has already occurred.
|
| - if (!file_exists(sys_get_temp_dir() . "/post.tmp")) {
|
| + if (!file_exists(sys_get_temp_dir() . "/post-redirect-get.tmp")) {
|
| echo "<script>";
|
| echo "xhr = new XMLHttpRequest;";
|
| - echo "xhr.open('GET', '../resources/touch-temp-file.php?filename=post.tmp', false);";
|
| + echo "xhr.open('GET', '../resources/touch-temp-file.php?filename=post-redirect-get.tmp', false);";
|
| echo "xhr.send(null);";
|
| echo "</script>";
|
| }
|
| - echo "<img src='resources/post-image-to-verify.php' onload=\"logAndFinish('PASS');\" onerror=\"logAndFinish('FAIL');\"></img>";
|
| + echo "<img src='resources/post-image-to-verify.php?filename=post-redirect-get.tmp' onload=\"logAndFinish('PASS');\" onerror=\"logAndFinish('FAIL');\"></img>";
|
| } else {
|
| echo "<form action='post-redirect-get.php' method='post'>";
|
| echo "<input type='submit' id='submit' name='submit' value='redirect'>";
|
| echo "</form>";
|
| - echo "<img src='resources/post-image-to-verify.php' onload=\"document.getElementById('submit').click();\" onerror=\"logAndFinish('FAIL on initial load');\"></img>";
|
| + echo "<img src='resources/post-image-to-verify.php?filename=post-redirect-get.tmp' onload=\"document.getElementById('submit').click();\" onerror=\"logAndFinish('FAIL on initial load');\"></img>";
|
| }
|
| ?>
|
| </body>
|
|
|