bug 708171 - XUL fennec hangs on start up, follow up to fix missed review comment r=mbrubeck

This commit is contained in:
Brad Lassey 2011-12-06 20:52:51 -08:00
parent f61d0020ea
commit da3f119c51

View File

@ -177,15 +177,12 @@ var Browser = {
startup: function startup() {
var self = this;
try {
sendMessageToJava({
gecko: {
type: "Gecko:Ready"
}
});
} catch(e) {
Cu.reportError("error sending message: " + e);
}
try {
messageManager.loadFrameScript("chrome://browser/content/Util.js", true);
messageManager.loadFrameScript("chrome://browser/content/forms.js", true);