Bug 1109693. More places that use CORS should in fact allow data: URIs. r=smaug

This commit is contained in:
Boris Zbarsky
2015-04-22 20:30:10 -04:00
parent 61a31b68d1
commit a22cdf01a0
11 changed files with 91 additions and 6 deletions

View File

@@ -1275,7 +1275,7 @@ nsresult HTMLMediaElement::LoadResource()
new nsCORSListenerProxy(loadListener,
NodePrincipal(),
GetCORSMode() == CORS_USE_CREDENTIALS);
rv = corsListener->Init(channel);
rv = corsListener->Init(channel, true);
NS_ENSURE_SUCCESS(rv, rv);
listener = corsListener;
} else {