mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 06:09:19 +00:00
Bug 1838052 - Allow audio/aacp to always bypass the ORB check r=farre,necko-reviewers,valentin, a=dmeehan
audio/aacp is a variant of acc, since we've allowed acc, accp should be allowed as well. Differential Revision: https://phabricator.services.mozilla.com/D180830
This commit is contained in:
parent
d28c9e2e61
commit
6c168678ea
@ -130,6 +130,7 @@
|
||||
#define AUDIO_MIDI "audio/x-midi"
|
||||
#define AUDIO_MATROSKA "audio/x-matroska"
|
||||
#define AUDIO_AAC "audio/aac"
|
||||
#define AUDIO_AACP "audio/aacp"
|
||||
#define AUDIO_MPEG_TS "audio/mp2t"
|
||||
#define AUDIO_MPEG_URL "audio/mpegurl"
|
||||
|
||||
|
@ -57,7 +57,8 @@ static bool IsOpaqueSafeListedSpecBreakingMIMEType(
|
||||
// a better way. Chromium currently allows all "audio/*" and "video/*", but
|
||||
// from discussion in bug, we want to try only "audio/mpeg".
|
||||
if (aContentType.EqualsLiteral(AUDIO_MP3) ||
|
||||
aContentType.EqualsLiteral(AUDIO_AAC)) {
|
||||
aContentType.EqualsLiteral(AUDIO_AAC) ||
|
||||
aContentType.EqualsLiteral(AUDIO_AACP)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user