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

Unified Diff: LayoutTests/http/tests/misc/resources/image-checks-for-dpr.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/misc/resources/image-checks-for-dpr.php
diff --git a/LayoutTests/http/tests/misc/resources/image-checks-for-dpr.php b/LayoutTests/http/tests/misc/resources/image-checks-for-dpr.php
new file mode 100644
index 0000000000000000000000000000000000000000..8a153c161fa005383350b3861579f6e77884b7f8
--- /dev/null
+++ b/LayoutTests/http/tests/misc/resources/image-checks-for-dpr.php
@@ -0,0 +1,11 @@
+<?php
+ $dpr = $_SERVER["HTTP_DPR"];
+
+ if($dpr) {
+ $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/client-hints-no-accept.html ('k') | LayoutTests/http/tests/misc/resources/image-checks-for-rw.php » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698