| Index: third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resources/script-with-constant-last-modified.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/resources/random-script.php b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resources/script-with-constant-last-modified.php
|
| similarity index 75%
|
| copy from third_party/WebKit/LayoutTests/http/tests/inspector/network/resources/random-script.php
|
| copy to third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resources/script-with-constant-last-modified.php
|
| index 14fc32dd800d0c3c1aed66a779ee87dc4f420f9b..de902baf0ab78b8ce109010bd340d2370149259b 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/resources/random-script.php
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resources/script-with-constant-last-modified.php
|
| @@ -6,14 +6,14 @@
|
|
|
| $max_age = 12 * 31 * 24 * 60 * 60; //one year
|
| $expires = gmdate(DATE_RFC1123, time() + $max_age);
|
| - $last_modified = gmdate(DATE_RFC1123, time() - $max_age);
|
| + // Dec 01, 1989, 8:00:00AM.
|
| + $last_modified = gmdate(DATE_RFC1123, 628502400);
|
|
|
| header("Cache-Control: public, max-age=" . 5*$max_age);
|
| header("Cache-control: max-age=0");
|
| header("Expires: " . $expires);
|
| - header("Content-Type: text/html");
|
| + header("Content-Type: text/javascript");
|
| header("Last-Modified: " . $last_modified);
|
|
|
| echo("console.log(\"Done.\");");
|
| - echo("var randomValue = " . rand() . ";");
|
| ?>
|
|
|