Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / resources / write-temp-file.php
blob7abe358222b3ec6c35028b311b2f758d309eb1be
1 <?php
2 require_once 'portabilityLayer.php';
4 if (!sys_get_temp_dir()) {
5 echo "FAIL: No temp dir was returned.\n";
6 exit();
9 $tmpFile = sys_get_temp_dir() . "/" . $_GET['filename'];
11 if (!file_put_contents($tmpFile, $_GET['data'])) {
12 echo "FAIL: unable to write to file: " . $tmpFile . "\n";
13 exit();
16 echo $tmpFile;