Bug 1082051 - Enable enhanced tiles for desired locales on 33. r=ttaubert, a=sledru
authorEd Lee <edilee@mozilla.com>
Thu, 16 Oct 2014 14:07:28 -0700
changeset 218082 7dc8f5f9ad9e
parent 218081 3f092c058c62
child 218083 d69a0e8a853d
push id529
push userryanvm@gmail.com
push date2014-10-17 13:19 +0000
treeherdermozilla-release@d69a0e8a853d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert, sledru
bugs1082051, 1073823
milestone33.0
Bug 1082051 - Enable enhanced tiles for desired locales on 33. r=ttaubert, a=sledru Undo testing check requirement added by bug 1073823.
toolkit/modules/DirectoryLinksProvider.jsm
--- a/toolkit/modules/DirectoryLinksProvider.jsm
+++ b/toolkit/modules/DirectoryLinksProvider.jsm
@@ -393,18 +393,17 @@ let DirectoryLinksProvider = {
       });
     }).catch(ex => {
       Cu.reportError(ex);
       return [];
     }).then(aCallback);
   },
 
   init: function DirectoryLinksProvider_init() {
-    // Allow for overriding enabled to true for testing
-    this.enabled = this._testing && this.locale.search(/^(en|de|es|fr|ja|pl|pt|ru)/) == 0;
+    this.enabled = this.locale.search(/^(en|de|es|fr|ja|pl|pt|ru)/) == 0;
 
     this._setDefaultEnhanced();
     this._addPrefsObserver();
     // setup directory file path and last download timestamp
     this._directoryFilePath = OS.Path.join(OS.Constants.Path.localProfileDir, DIRECTORY_LINKS_FILE);
     this._lastDownloadMS = 0;
     return Task.spawn(function() {
       // get the last modified time of the links file if it exists