Bug 1472216 - in content search is allowed on about:welcome. r?ursula draft
authorErica Wright <ewright@mozilla.com>
Fri, 29 Jun 2018 16:24:52 -0400
changeset 812687 389c2548eb16882202287c0386838d5e09cb304b
parent 812548 a009b5249a4b78a889fdc5ffcf55ad51715cc686
push id114644
push userbmo:ewright@mozilla.com
push dateFri, 29 Jun 2018 20:26:19 +0000
reviewersursula
bugs1472216
milestone63.0a1
Bug 1472216 - in content search is allowed on about:welcome. r?ursula MozReview-Commit-ID: 15AOU9Q1LU
browser/base/content/tab-content.js
--- a/browser/base/content/tab-content.js
+++ b/browser/base/content/tab-content.js
@@ -224,16 +224,17 @@ var AboutReaderListener = {
 AboutReaderListener.init();
 
 
 var ContentSearchMediator = {
 
   whitelist: new Set([
     "about:home",
     "about:newtab",
+    "about:welcome",
   ]),
 
   init(chromeGlobal) {
     chromeGlobal.addEventListener("ContentSearchClient", this, true, true);
     addMessageListener("ContentSearch", this);
   },
 
   handleEvent(event) {