summaryrefslogtreecommitdiffstats
path: root/toolkit/components/search
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-05-01 18:08:22 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-05-01 18:08:22 -0400
commita930a790d53f82c22167eec57d24eec943298968 (patch)
tree14e44a137116a1c2ed41e1b3296c8406cedc0811 /toolkit/components/search
parentec1df1e8a21d83e393dbfb6f5cc03657b11af0fc (diff)
downloadUXP-a930a790d53f82c22167eec57d24eec943298968.tar
UXP-a930a790d53f82c22167eec57d24eec943298968.tar.gz
UXP-a930a790d53f82c22167eec57d24eec943298968.tar.lz
UXP-a930a790d53f82c22167eec57d24eec943298968.tar.xz
UXP-a930a790d53f82c22167eec57d24eec943298968.zip
Un-depercate synchronous search initialization
Diffstat (limited to 'toolkit/components/search')
-rw-r--r--toolkit/components/search/nsSearchService.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/toolkit/components/search/nsSearchService.js b/toolkit/components/search/nsSearchService.js
index fb3f69f4c..9f9003516 100644
--- a/toolkit/components/search/nsSearchService.js
+++ b/toolkit/components/search/nsSearchService.js
@@ -23,8 +23,6 @@ XPCOMUtils.defineLazyModuleGetter(this, "Task",
"resource://gre/modules/Task.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "TelemetryStopwatch",
"resource://gre/modules/TelemetryStopwatch.jsm");
-XPCOMUtils.defineLazyModuleGetter(this, "Deprecated",
- "resource://gre/modules/Deprecated.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "SearchStaticData",
"resource://gre/modules/SearchStaticData.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "setTimeout",
@@ -2695,13 +2693,6 @@ SearchService.prototype = {
return;
}
- let warning =
- "Search service falling back to synchronous initialization. " +
- "This is generally the consequence of an add-on using a deprecated " +
- "search service API.";
- Deprecated.warning(warning, "https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIBrowserSearchService#async_warning");
- LOG(warning);
-
this._syncInit();
if (!Components.isSuccessCode(this._initRV)) {
throw this._initRV;