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

Side by Side Diff: LayoutTests/http/tests/security/resources/video-cross-origin-allow.php

Issue 10536097: Merge 119742 - Plumb CORS attribute information from HTMLMediaElement to media players so it can be… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/video-cross-origin-readback.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?php 1 <?php
2 2
3 header("Access-Control-Allow-Origin: *"); 3 header("Access-Control-Allow-Origin: *");
4 4
5 if ($_SERVER['REQUEST_METHOD'] == "OPTIONS") { 5 if ($_SERVER['REQUEST_METHOD'] == "OPTIONS") {
6 header("Access-Control-Allow-Methods: GET"); 6 header("Access-Control-Allow-Methods: GET");
7 header("Access-Control-Allow-Headers: origin, accept-encoding, referer, rang e"); 7 header("Access-Control-Allow-Headers: origin, accept-encoding, referer, rang e");
8 exit; 8 exit;
9 } 9 }
10 10
11 @include("../../media/resources/serve-video.php"); 11 @include("../../media/resources/serve-video.php");
12 12
13 ?> 13 ?>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/video-cross-origin-readback.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698