Bug 1015549 - [mobile] Update filter.py to ignore new keys in region.properties. r=rnewman
authorFrancesco Lodolo (:flod) <flod@lodolo.net>
Tue, 27 May 2014 05:51:00 -0400
changeset 185188 9b7ba1b01c72ec35b2bfc71ff6279cf8012ce1e7
parent 185187 91c9fe567a0873e2565b5bc36d1d71660c6ef5ed
child 185189 e6751cbb4723bf768c1e8487be0af12181497641
push id6996
push userryanvm@gmail.com
push dateTue, 27 May 2014 21:15:02 +0000
treeherderfx-team@e6751cbb4723 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman
bugs1015549
milestone32.0a1
Bug 1015549 - [mobile] Update filter.py to ignore new keys in region.properties. r=rnewman
mobile/android/locales/filter.py
mobile/locales/filter.py
--- a/mobile/android/locales/filter.py
+++ b/mobile/android/locales/filter.py
@@ -31,12 +31,13 @@ def test(mod, path, entity = None):
   # we're in mod == "mobile"
   if re.match(r"searchplugins\/.+\.xml", path):
     return "ignore"
   if path == "chrome/region.properties":
     # only region.properties exceptions remain
     if (re.match(r"browser\.search\.order\.[1-9]", entity) or
         re.match(r"browser\.contentHandlers\.types\.[0-5]", entity) or
         re.match(r"gecko\.handlerService\.schemes\.", entity) or
-      re.match(r"gecko\.handlerService\.defaultHandlersVersion", entity)):
+        re.match(r"gecko\.handlerService\.defaultHandlersVersion", entity) or
+        re.match(r"browser\.suggestedsites\.", entity)):
       return "ignore"
 
   return "error"
--- a/mobile/locales/filter.py
+++ b/mobile/locales/filter.py
@@ -31,12 +31,13 @@ def test(mod, path, entity = None):
   # we're in mod == "mobile"
   if re.match(r"searchplugins\/.+\.xml", path):
     return "ignore"
   if path == "chrome/region.properties":
     # only region.properties exceptions remain
     if (re.match(r"browser\.search\.order\.[1-9]", entity) or
         re.match(r"browser\.contentHandlers\.types\.[0-5]", entity) or
         re.match(r"gecko\.handlerService\.schemes\.", entity) or
-      re.match(r"gecko\.handlerService\.defaultHandlersVersion", entity)):
+        re.match(r"gecko\.handlerService\.defaultHandlersVersion", entity) or
+        re.match(r"browser\.suggestedsites\.", entity)):
       return "ignore"
 
   return "error"