Bug 1071272 - Remove the clearUserPref("loop.hawk-session-token.fxa") hack from
bug 1071259 since 1071247 has been deployed. r=MattN
--- a/browser/components/nsBrowserGlue.js
+++ b/browser/components/nsBrowserGlue.js
@@ -735,23 +735,16 @@ BrowserGlue.prototype = {
WebappManager.uninit();
#ifdef NIGHTLY_BUILD
if (Services.prefs.getBoolPref("dom.identity.enabled")) {
SignInToWebsiteUX.uninit();
}
#endif
webrtcUI.uninit();
FormValidationHandler.uninit();
-
- // XXX: Temporary hack to allow Loop FxA login after a restart to work.
- // Remove this once bug 1071247 is deployed.
- if (Services.prefs.getPrefType("loop.autologin-after-restart") != Ci.nsIPrefBranch.PREF_BOOL ||
- !Services.prefs.getBoolPref("loop.autologin-after-restart")) {
- Services.prefs.clearUserPref("loop.hawk-session-token.fxa");
- }
},
// All initial windows have opened.
_onWindowsRestored: function BG__onWindowsRestored() {
// Show update notification, if needed.
if (Services.prefs.prefHasUserValue("app.update.postupdate"))
this._showUpdateNotification();