Backed out changeset a4f31914bb0c (bug 957229) for browser_aboutAccounts.js timeouts; CLOSED TREE

This commit is contained in:
Ed Morley 2014-01-28 16:09:22 +00:00
parent 44ed013d4a
commit b77998a5e9

View File

@ -21,16 +21,6 @@ let wrapper = {
iframe: null,
init: function () {
let weave = Cc["@mozilla.org/weave/service;1"]
.getService(Ci.nsISupports)
.wrappedJSObject;
// Don't show about:accounts with FxA disabled.
if (!weave.fxAccountsEnabled) {
document.body.remove();
return;
}
let iframe = document.getElementById("remote");
this.iframe = iframe;
iframe.addEventListener("load", this);