Remove cache-defeating test code from Account Provisioner. rs=Standard8. AURORA_BASE_20111108
authorMike Conley <mconley@mozilla.com>
Tue, 08 Nov 2011 15:29:44 -0500
changeset 9668 9a930641d132dbeccb9e54478da709ed34d12629
parent 9667 79673156553b919c8aabd6b9d84eac7fd13e1b89
child 9669 9b8232843bdb958acd71ca52276e004509c48f97
push idunknown
push userunknown
push dateunknown
reviewersStandard8
Remove cache-defeating test code from Account Provisioner. rs=Standard8.
mail/components/newmailaccount/content/accountProvisioner.js
--- a/mail/components/newmailaccount/content/accountProvisioner.js
+++ b/mail/components/newmailaccount/content/accountProvisioner.js
@@ -182,19 +182,16 @@ function tryToPopulateProviderList() {
   userLanguages = $.map(userLanguages, $.trim);
 
   // If there's a timeout ID for waking the account provisioner, clear it.
   if (wakeTimeoutId) {
     window.clearTimeout(wakeTimeoutId)
     wakeTimeoutId = null;
   }
 
-  // Defeat caching while I test!!!  REMOVE ME!!!
-  providerList += "?" + Math.round(new Date().getTime());
-
   $.getJSON(providerList, function(data) {
     providers = {};
     for each (let [i, provider] in Iterator(data)) {
       providers[provider.id] = provider;
       // Update the terms of service and privacy policy links.
       let sep = "";
       if (i == data.length - 1)
         ;