Bug 1544739 - Part 5: Update GNOME shell service - Add extra extensions. r=frg a=frg
authorIan Neal <iann_cvs@blueyonder.co.uk>
Wed, 24 Apr 2019 18:54:00 +0200
changeset 32184 c12542ef7b070d72ed6aa23b6d598fe6d4e6debf
parent 32183 2a75b48d5863bc9a85b30affc711ea6f7b702225
child 32185 efe6ede30b74f68834e39462412a246d75047f9e
push id187
push userfrgrahl@gmx.net
push dateWed, 24 Apr 2019 16:55:18 +0000
treeherdercomm-esr60@33e9c7be6768 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfrg, frg
bugs1544739
Bug 1544739 - Part 5: Update GNOME shell service - Add extra extensions. r=frg a=frg
suite/components/shell/nsGNOMEShellService.cpp
--- a/suite/components/shell/nsGNOMEShellService.cpp
+++ b/suite/components/shell/nsGNOMEShellService.cpp
@@ -53,18 +53,18 @@ static const ProtocolAssociation gProtoc
   { nsIShellService::BROWSER, "https" },
   { nsIShellService::MAIL, "mailto" },
   { nsIShellService::NEWS, "news" },
   { nsIShellService::NEWS, "snews" },
   { nsIShellService::RSS, "feed" }
 };
 
 static const MimeTypeAssociation gMimeTypes[] = {
-  { nsIShellService::BROWSER, "text/html", "htm html" },
-  { nsIShellService::BROWSER, "application/xhtml+xml", "xhtml" },
+  { nsIShellService::BROWSER, "text/html", "htm html shtml" },
+  { nsIShellService::BROWSER, "application/xhtml+xml", "xhtml xht" },
   { nsIShellService::MAIL, "message/rfc822", "eml" },
   { nsIShellService::RSS, "application/rss+xml", "rss" }
 };
 
 #define kDesktopBGSchema "org.gnome.desktop.background"
 #define kDesktopImageGSKey "picture-uri"
 #define kDesktopOptionGSKey "picture-options"
 #define kDesktopDrawBGGSKey "draw-background"