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

Unified Diff: LayoutTests/http/tests/misc/client-hints-accept.php

Issue 951303003: Added basic client hints support. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/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.')">

Powered by Google App Engine
This is Rietveld 408576698