Bug 1472216 - in content search is allowed on about:welcome. r=ursula a=lizzard
authorErica Wright <ewright@mozilla.com>
Fri, 29 Jun 2018 16:24:52 -0400
changeset 477846 83d54bf1905f4c71190b5438eeedb9fef3c55c4b
parent 477845 3c8ab5a011e3e53fe125693ce8922314ffcf7a8b
child 477847 5f79cf2a5110c661dd49bddf6dccdc9cccea9050
push id9445
push userarchaeopteryx@coole-files.de
push dateSat, 07 Jul 2018 21:43:02 +0000
treeherdermozilla-beta@0a939a1cd7f9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersursula, lizzard
bugs1472216
milestone62.0
Bug 1472216 - in content search is allowed on about:welcome. r=ursula a=lizzard 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) {