Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / media / resources / video-check-useragent.php
blob0af2f36d1feebd51d11e79de40f1c925c43a8e0f
1 <?php
3 $ua = $_SERVER["HTTP_USER_AGENT"];
5 if (!isset($ua) || stripos($ua, "WebKit/") === false || stripos($ua, "(KHTML, like Gecko)") === false)
6 die;
8 $fileName = $_GET["name"];
9 $type = $_GET["type"];
11 $_GET = array();
12 $_GET['name'] = $fileName;
13 $_GET['type'] = $type;
14 @include("./serve-video.php");