Chromium Code Reviews

Unified Diff: LayoutTests/http/tests/misc/resources/image-checks-for-rw.php

Issue 951303003: Added basic client hints support. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed expected files Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « LayoutTests/http/tests/misc/resources/image-checks-for-dpr.php ('k') | Source/core/fetch/ImageResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/misc/resources/image-checks-for-rw.php
diff --git a/LayoutTests/http/tests/misc/resources/image-checks-for-rw.php b/LayoutTests/http/tests/misc/resources/image-checks-for-rw.php
new file mode 100644
index 0000000000000000000000000000000000000000..b63367d51dfd877d100b9a3322438acb0f2ceb89
--- /dev/null
+++ b/LayoutTests/http/tests/misc/resources/image-checks-for-rw.php
@@ -0,0 +1,11 @@
+<?php
+ $rw = $_SERVER["HTTP_RW"];
+
+ if($rw) {
+ $fn = fopen("compass.jpg", "r");
+ fpassthru($fn);
+ fclose($fn);
+ exit;
+ }
+ header("HTTP/1.1 417 Expectation failed");
+?>
« no previous file with comments | « LayoutTests/http/tests/misc/resources/image-checks-for-dpr.php ('k') | Source/core/fetch/ImageResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine