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

Side by Side Diff: LayoutTests/http/tests/misc/resources/image-checks-for-width.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
1 <?php 1 <?php
2 $rw = $_SERVER["HTTP_RW"]; 2 $rw = $_SERVER["HTTP_WIDTH"];
3 $expected_rw = $_GET["rw"]; 3 $expected_rw = $_GET["rw"];
4 4
5 if ((isset($expected_rw) && $rw == $expected_rw) || (isset($rw) && !isset($e xpected_rw))) { 5 if ((isset($expected_rw) && $rw == $expected_rw) || (isset($rw) && !isset($e xpected_rw))) {
6 $fn = fopen("compass.jpg", "r"); 6 $fn = fopen("compass.jpg", "r");
7 fpassthru($fn); 7 fpassthru($fn);
8 fclose($fn); 8 fclose($fn);
9 exit; 9 exit;
10 } 10 }
11 header("HTTP/1.1 417 Expectation failed"); 11 header("HTTP/1.1 417 Expectation failed");
12 ?> 12 ?>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/misc/resources/image-checks-for-viewport-width.php ('k') | Source/core/fetch/ClientHintsPreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698