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

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

Issue 1078633003: Added preloader support for sizes based RW values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 8 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_RW"];
3 $expected_rw = $_GET["rw"];
3 4
4 if($rw) { 5 if (($rw == $expected_rw) || ($rw && !$expected_rw)) {
5 $fn = fopen("compass.jpg", "r"); 6 $fn = fopen("compass.jpg", "r");
6 fpassthru($fn); 7 fpassthru($fn);
7 fclose($fn); 8 fclose($fn);
8 exit; 9 exit;
9 } 10 }
10 header("HTTP/1.1 417 Expectation failed"); 11 header("HTTP/1.1 417 Expectation failed");
11 ?> 12 ?>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/misc/client-hints-preload-rw-sizes.html ('k') | Source/core/fetch/FetchRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698