mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
Bug 1500710 - Add default MIME type definition for .wasm as 'application/wasm' r=bzbarsky
Add {"application/wasm", "wasm"} mapping in extraMimeEntries Differential Revision: https://phabricator.services.mozilla.com/D18189 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
8c617a84d2
commit
3f231d0bbe
@ -76,6 +76,7 @@
|
||||
#define APPLICATION_WAPXHTML_XML "application/vnd.wap.xhtml+xml"
|
||||
#define APPLICATION_PACKAGE "application/package"
|
||||
#define APPLICATION_JAVASCRIPT_BINAST "application/javascript-binast"
|
||||
#define APPLICATION_WASM "application/wasm"
|
||||
|
||||
#define AUDIO_BASIC "audio/basic"
|
||||
#define AUDIO_OGG "audio/ogg"
|
||||
|
@ -557,7 +557,8 @@ static const nsExtraMimeTypeEntry extraMimeEntries[] = {
|
||||
{AUDIO_WAV, "wav", "Waveform Audio"},
|
||||
{VIDEO_3GPP, "3gpp,3gp", "3GPP Video"},
|
||||
{VIDEO_3GPP2, "3g2", "3GPP2 Video"},
|
||||
{AUDIO_MIDI, "mid", "Standard MIDI Audio"}};
|
||||
{AUDIO_MIDI, "mid", "Standard MIDI Audio"},
|
||||
{APPLICATION_WASM, "wasm", "WebAssembly Module"}};
|
||||
|
||||
#undef MAC_TYPE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user