Chromium Code Reviews| Index: LayoutTests/http/tests/misc/client-hints-accept.php |
| diff --git a/LayoutTests/http/tests/misc/client-hints-accept.php b/LayoutTests/http/tests/misc/client-hints-accept.php |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5f4ea77c9b8d4feab2d3f5530fe189efff59cc38 |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/misc/client-hints-accept.php |
| @@ -0,0 +1,10 @@ |
| +<?php |
| + header("ACCEPT-CH: DPR, RW"); |
| +?> |
| +<!DOCTYPE html> |
| +<script> |
| + if (window.testRunner) |
| + testRunner.dumpAsText(); |
| +</script> |
| +<img src="resources/image-checks-for-dpr.php" onload="console.log('DPR sent.')" onerror="console.log('DPR not sent.')"> |
|
Mike West
2015/02/25 09:06:06
Ditto.
|
| +<img src="resources/image-checks-for-rw.php" onload="console.log('RW sent.')" onerror="console.log('RW not sent.')"> |