diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index c59faea73cd9..3fae0900af16 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -4158,7 +4158,7 @@ var XULBrowserWindow = { startTime: 0, statusText: "", isBusy: false, - inContentWhitelist: ["about:addons", "about:permissions", "chrome://browser/content/syncProgress.xhtml"], + inContentWhitelist: ["about:addons", "about:permissions", "about:sync-progress"], QueryInterface: function (aIID) { if (aIID.equals(Ci.nsIWebProgressListener) || diff --git a/browser/components/about/AboutRedirector.cpp b/browser/components/about/AboutRedirector.cpp index b03c012ae799..f7ac39a8a3a9 100644 --- a/browser/components/about/AboutRedirector.cpp +++ b/browser/components/about/AboutRedirector.cpp @@ -97,6 +97,8 @@ static RedirEntry kRedirMap[] = { { "sessionrestore", "chrome://browser/content/aboutSessionRestore.xhtml", nsIAboutModule::ALLOW_SCRIPT }, #ifdef MOZ_SERVICES_SYNC + { "sync-progress", "chrome://browser/content/syncProgress.xhtml", + nsIAboutModule::ALLOW_SCRIPT }, { "sync-tabs", "chrome://browser/content/aboutSyncTabs.xul", nsIAboutModule::ALLOW_SCRIPT }, #endif diff --git a/browser/components/build/nsModule.cpp b/browser/components/build/nsModule.cpp index 5dd5efc68d1f..672a9b398fcd 100644 --- a/browser/components/build/nsModule.cpp +++ b/browser/components/build/nsModule.cpp @@ -156,6 +156,7 @@ static const mozilla::Module::ContractIDEntry kBrowserContracts[] = { { NS_ABOUT_MODULE_CONTRACTID_PREFIX "sessionrestore", &kNS_BROWSER_ABOUT_REDIRECTOR_CID }, #ifdef MOZ_SERVICES_SYNC { NS_ABOUT_MODULE_CONTRACTID_PREFIX "sync-tabs", &kNS_BROWSER_ABOUT_REDIRECTOR_CID }, + { NS_ABOUT_MODULE_CONTRACTID_PREFIX "sync-progress", &kNS_BROWSER_ABOUT_REDIRECTOR_CID }, #endif { NS_ABOUT_MODULE_CONTRACTID_PREFIX "home", &kNS_BROWSER_ABOUT_REDIRECTOR_CID }, { NS_ABOUT_MODULE_CONTRACTID_PREFIX "permissions", &kNS_BROWSER_ABOUT_REDIRECTOR_CID },