Bug 1257898 - Remove Webapps.jsm loading in browser r? draft
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Wed, 12 Oct 2016 12:57:14 +0200
changeset 424229 ed74ffff981b1b7f2de04424138a4e61377d3489
parent 424216 aa8629a25ab5aeb2678a0187e50336659d368b44
child 533623 39dd12c8d0189601f95c23c72df58e9bc6a89309
push id32101
push userbmo:lissyx+mozillians@lissyx.dyndns.org
push dateWed, 12 Oct 2016 11:03:45 +0000
bugs1257898
milestone52.0a1
Bug 1257898 - Remove Webapps.jsm loading in browser r? MozReview-Commit-ID: KabLAc5ZUZW
browser/components/nsBrowserGlue.js
--- a/browser/components/nsBrowserGlue.js
+++ b/browser/components/nsBrowserGlue.js
@@ -664,19 +664,16 @@ BrowserGlue.prototype = {
 
     // apply distribution customizations
     // prefs are applied in _onAppDefaults()
     this._distributionCustomizer.applyCustomizations();
 
     // handle any UI migration
     this._migrateUI();
 
-    // Evaluate Webapps.jsm early to resolve ts_paint regression bug 1256667.
-    Cu.import("resource://gre/modules/Webapps.jsm", {});
-
     PageThumbs.init();
     webrtcUI.init();
     AboutHome.init();
 
     DirectoryLinksProvider.init();
     NewTabUtils.init();
     NewTabUtils.links.addProvider(DirectoryLinksProvider);
     AboutNewTab.init();