Bug 1399249 - Add .xhtml, .xhtm and .xht to Application Reputation checks. r?gcp draft
authorFrancois Marier <francois@mozilla.com>
Tue, 12 Sep 2017 15:01:38 -0700
changeset 663326 6007373198fb463ffa8279169d7b18059f28154d
parent 663134 a73cc4e08bf5a005722c95b43f84ab0c8ff2bc7c
child 731174 dc9badf94f49362defd92ba499ac5387fa6668fe
push id79405
push userfmarier@mozilla.com
push dateTue, 12 Sep 2017 22:01:54 +0000
reviewersgcp
bugs1399249
milestone57.0a1
Bug 1399249 - Add .xhtml, .xhtm and .xht to Application Reputation checks. r?gcp MozReview-Commit-ID: BP8bGNIcttB
toolkit/components/downloads/ApplicationReputation.cpp
--- a/toolkit/components/downloads/ApplicationReputation.cpp
+++ b/toolkit/components/downloads/ApplicationReputation.cpp
@@ -665,16 +665,19 @@ static const char16_t* const kBinaryFile
     //u".workflow", // Mac Automator
     //u".wrc", // FreeArc archive
     u".ws", // Windows script
     u".wsc", // Windows script
     u".wsf", // Windows script
     u".wsh", // Windows script
     u".xar", // MS Excel
     u".xbap", // XAML Browser Application
+    u".xhtml",
+    u".xhtm",
+    u".xht",
     u".xip", // Mac archive
     //u".xlsm", // MS Excel
     //u".xlsx", // MS Excel
     //u".xltm", // MS Excel
     //u".xltx", // MS Excel
     u".xml",
     u".xnk", // MS Exchange
     u".xrm-ms", // Windows