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

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

Issue 1183233002: Split RW hint into Width and Viewport-Width (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed and added layout tests Created 5 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?php
2 $rw = $_SERVER["HTTP_RW"];
3 $expected_rw = $_GET["rw"];
4
5 if ((isset($expected_rw) && $rw == $expected_rw) || (isset($rw) && !isset($e xpected_rw))) {
6 $fn = fopen("compass.jpg", "r");
7 fpassthru($fn);
8 fclose($fn);
9 exit;
10 }
11 header("HTTP/1.1 417 Expectation failed");
12 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698