зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1874186 - Remove remains of extension ID facility from OpenSearch engines. r=search-reviewers,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D198284
This commit is contained in:
Родитель
e8c16fb064
Коммит
5546e33c2a
|
@ -236,9 +236,6 @@ export class OpenSearchEngine extends SearchEngine {
|
|||
lazy.SearchUtils.sanitizeName(this.name),
|
||||
this._uri
|
||||
);
|
||||
if (this._extensionID) {
|
||||
this._loadPath += ":" + this._extensionID;
|
||||
}
|
||||
this.setAttr(
|
||||
"loadPathHash",
|
||||
lazy.SearchUtils.getVerificationHash(this._loadPath)
|
||||
|
@ -417,9 +414,6 @@ export class OpenSearchEngine extends SearchEngine {
|
|||
case "IconUpdateUrl":
|
||||
this._iconUpdateURL = child.textContent;
|
||||
break;
|
||||
case "ExtensionID":
|
||||
this._extensionID = child.textContent;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!this.name || !this._urls.length) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче