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

Side by Side Diff: LayoutTests/http/tests/resources/origin.php

Issue 136693020: Add image loading spec related tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added srcset related tests Created 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?php
2
3 $gotOrigin = 0;
4 foreach (getallheaders() as $name => $value) {
5 if ($name == "Origin") {
6 $gotOrigin = 1;
7 }
8 }
9
10 if ($gotOrigin) {
11 header('Location: square100.png');
12 }
13 else {
14 header('Location: square200.png');
15 }
16 header('HTTP/1.1 302 Redirect');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698