diff --git a/testing/extensions/community/chrome/content/litmusReporter.js b/testing/extensions/community/chrome/content/litmusReporter.js index 56b433bd847..50048d5306d 100644 --- a/testing/extensions/community/chrome/content/litmusReporter.js +++ b/testing/extensions/community/chrome/content/litmusReporter.js @@ -62,7 +62,7 @@ function LitmusResults(a) { this.machinename = a.machinename || ''; this.requireField('username', a); this.requireField('password', a); - this.server = a.server || 'http://litmus.mozilla.org/process_test.cgi'; + this.server = a.server || 'https://litmus.mozilla.org/process_test.cgi'; this.action = 'submit'; this.results = new Array(); @@ -97,7 +97,7 @@ LitmusResults.prototype = { var d = ''+"\n"; d += ''+"\n"; + ' "https://litmus.mozilla.org/litmus_results.dtd">'+"\n"; d += '' : '>') +"\n"; diff --git a/testing/extensions/community/chrome/content/prefs.js b/testing/extensions/community/chrome/content/prefs.js index 12baff5f373..86a2226a2c6 100755 --- a/testing/extensions/community/chrome/content/prefs.js +++ b/testing/extensions/community/chrome/content/prefs.js @@ -173,9 +173,16 @@ var CC_loginManager = Components.classes["@mozilla.org/login-manager;1"]; var nsLoginInfo = new Components.Constructor("@mozilla.org/login-manager/loginInfo;1", Components.interfaces.nsILoginInfo, "init"); - var newLogin = new nsLoginInfo('chrome://qa', 'Litmus Login', litmus.baseURL, - username, password, null, null); - this.manager().addLogin(newLogin); + + // The LoginManager does not like "null" for username/password fields, + // So we send in the field names from the XUL. + var newLogin = new nsLoginInfo('chrome://qa', 'Litmus Login', litmus.baseURL, + username, password, "username", "password"); + try { + this.manager().addLogin(newLogin); + } catch (err) { + alert("ERROR: " + err); + } }, getPasswordObj: function() { try { diff --git a/testing/extensions/community/chrome/content/setup.xul b/testing/extensions/community/chrome/content/setup.xul index 4eca0dbd3bd..16fe63c9b03 100644 --- a/testing/extensions/community/chrome/content/setup.xul +++ b/testing/extensions/community/chrome/content/setup.xul @@ -75,8 +75,8 @@