Skip to content

Commit

Permalink
Bug 927132 - Fix about:home in e10s (r=mdeboer)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmottola committed Aug 26, 2019
1 parent ceaa068 commit 53c586e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion browser/base/content/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ let AboutHomeListener = {
if (aData.showKnowYourRights)
docElt.setAttribute("showKnowYourRights", "true");
docElt.setAttribute("snippetsVersion", aData.snippetsVersion);
docElt.setAttribute("searchEngineName", Services.search.defaultEngine.name);
docElt.setAttribute("searchEngineName", aData.defaultEngineName);
},

onPageLoad: function() {
Expand Down
3 changes: 2 additions & 1 deletion browser/modules/AboutHome.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ let AboutHome = {
showRestoreLastSession: ss.canRestoreLastSession,
snippetsURL: AboutHomeUtils.snippetsURL,
showKnowYourRights: AboutHomeUtils.showKnowYourRights,
snippetsVersion: AboutHomeUtils.snippetsVersion
snippetsVersion: AboutHomeUtils.snippetsVersion,
defaultEngineName: Services.search.defaultEngine.name
};

if (AboutHomeUtils.showKnowYourRights) {
Expand Down

0 comments on commit 53c586e

Please sign in to comment.