Bug 1472216 - in content search is allowed on about:welcome. r=ursula
authorErica Wright <ewright@mozilla.com>
Fri, 29 Jun 2018 16:24:52 -0400
changeset 424818 62da3d173f63caa61210218b3c14aa9c560c54c5
parent 424817 f97aa0d8969df0fda36aa6e3a9af178fc408d8a6
child 424819 b636a45b545e8739212cce05b25db9f0f373cfe0
push id34224
push usershindli@mozilla.com
push dateTue, 03 Jul 2018 21:55:38 +0000
treeherdermozilla-central@b636a45b545e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersursula
bugs1472216
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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) {