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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/loading/resources/no-cache-css.php

Issue 2353903002: {CSS,XSL}StyleSheetResource should mark their clients as finished on checkNotify (Closed)
Patch Set: yhirano style Created 4 years, 3 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/loading/resources/no-cache-css.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/resources/no-cache-css.php b/third_party/WebKit/LayoutTests/http/tests/loading/resources/no-cache-css.php
new file mode 100644
index 0000000000000000000000000000000000000000..686a3e5d04b6613bd400587e0d38cdca862d4d11
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/loading/resources/no-cache-css.php
@@ -0,0 +1,11 @@
+<?php
+$etag = "must-have-some-etag";
+if (isset($_SERVER['HTTP_IF_NONE_MATCH']) && stripslashes($_SERVER['HTTP_IF_NONE_MATCH']) == $etag) {
+ header("HTTP/1.0 304 Not Modified");
+ die;
+}
+header("ETag: " . $etag);
+header("Cache-Control: no-cache");
+header("Content-Type: text/css");
+?>
+#markred { color: red; }

Powered by Google App Engine
This is Rietveld 408576698