mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
[network] Add non-overrideable default MIME types for js, jsm and json.
This ensures the browser always recognizes these file type extensions appropriately, even if not otherwise registered in the system.
This commit is contained in:
parent
94f3f356ed
commit
bca191c2b9
1 changed files with 3 additions and 0 deletions
|
|
@ -384,6 +384,9 @@ static const nsDefaultMimeTypeEntry defaultMimeEntries[] =
|
|||
{ "application/xhtml+xml", "xhtml" },
|
||||
{ "application/xhtml+xml", "xht" },
|
||||
{ TEXT_PLAIN, "txt" },
|
||||
{ APPLICATION_JSON, "json"},
|
||||
{ APPLICATION_XJAVASCRIPT, "js"},
|
||||
{ APPLICATION_XJAVASCRIPT, "jsm"},
|
||||
{ VIDEO_OGG, "ogv" },
|
||||
{ VIDEO_OGG, "ogg" },
|
||||
{ APPLICATION_OGG, "ogg" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue