summaryrefslogtreecommitdiffstats
path: root/webkit/media
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 21:34:00 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 21:34:00 +0000
commit0db657557633f34651ecf6280e0836d826cebdbc (patch)
tree20f28299f20fe6dabd61985df863fdb6e69c9d56 /webkit/media
parent36a334b513cf6d8ac9a3763103717678e009f85b (diff)
downloadchromium_src-0db657557633f34651ecf6280e0836d826cebdbc.zip
chromium_src-0db657557633f34651ecf6280e0836d826cebdbc.tar.gz
chromium_src-0db657557633f34651ecf6280e0836d826cebdbc.tar.bz2
Request all response headers be exposed to BufferedResourceLoader since it needs them.
TEST=http/tests/security/video-cross-origin-readback.html passes even after http/tests/media/resources/serve-video.php is fixed to actually return 206 responses (http://webk.it/89252) Review URL: https://chromiumcodereview.appspot.com/10554014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142821 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/media')
-rw-r--r--webkit/media/buffered_resource_loader.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/media/buffered_resource_loader.cc b/webkit/media/buffered_resource_loader.cc
index bd05239..1ce4091 100644
--- a/webkit/media/buffered_resource_loader.cc
+++ b/webkit/media/buffered_resource_loader.cc
@@ -191,6 +191,7 @@ void BufferedResourceLoader::Start(
options.crossOriginRequestPolicy =
WebURLLoaderOptions::CrossOriginRequestPolicyAllow;
} else {
+ options.exposeAllResponseHeaders = true;
options.crossOriginRequestPolicy =
WebURLLoaderOptions::CrossOriginRequestPolicyUseAccessControl;
if (cors_mode_ == kUseCredentials)