Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / webfont / resources / cookie-match.php
blobfb9b3153af738dd33268480037bd7da58ab2c669
1 <?php
3 if (!isset($_COOKIE["key"])) {
4 echo "FAIL: Cookie is not set";
5 exit;
8 if ($_GET["key"] == $_COOKIE["key"]) {
9 $fp = fopen("../../../../resources/Ahem.ttf", "rb");
10 header("Content-type: application/octet-stream");
11 header("HTTP/1.0 200 OK");
12 fpassthru($fp);
13 } else {
14 echo "FAIL: Cookie: {$_COOKIE['key']}, Query: {$_GET['key']}";
15 exit;