mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Un-depercate synchronous search initialization
This commit is contained in:
parent
c9446a4319
commit
7c7a4bc6b8
1 changed files with 0 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue