зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1644357 - Remove unused WebExtensionDescriptor properties isAPIExtension & type r=daisuke
Depends on D78009 Differential Revision: https://phabricator.services.mozilla.com/D78868
This commit is contained in:
Родитель
d8ff61ded5
Коммит
87467dc091
|
@ -54,11 +54,6 @@ class WebExtensionDescriptorFront extends FrontClassWithSpec(
|
|||
return this._form.id;
|
||||
}
|
||||
|
||||
// Currently unused on the client.
|
||||
get isAPIExtension() {
|
||||
return this._form.isAPIExtension;
|
||||
}
|
||||
|
||||
get isSystem() {
|
||||
return this._form.isSystem;
|
||||
}
|
||||
|
@ -79,11 +74,6 @@ class WebExtensionDescriptorFront extends FrontClassWithSpec(
|
|||
return this._form.temporarilyInstalled;
|
||||
}
|
||||
|
||||
// Currently unused on the client.
|
||||
get type() {
|
||||
return this._form.type;
|
||||
}
|
||||
|
||||
get url() {
|
||||
return this._form.url;
|
||||
}
|
||||
|
|
|
@ -77,14 +77,12 @@ const WebExtensionDescriptorActor = protocol.ActorClassWithSpec(
|
|||
iconDataURL: this._iconDataURL,
|
||||
iconURL: this.addon.iconURL,
|
||||
id: this.addonId,
|
||||
isAPIExtension: this.addon.isAPIExtension,
|
||||
isSystem: this.addon.isSystem,
|
||||
isWebExtension: this.addon.isWebExtension,
|
||||
manifestURL: policy && policy.getURL("manifest.json"),
|
||||
name: this.addon.name,
|
||||
temporarilyInstalled: this.addon.temporarilyInstalled,
|
||||
traits: {},
|
||||
type: this.addon.type,
|
||||
url: this.addon.sourceURI ? this.addon.sourceURI.spec : undefined,
|
||||
warnings: ExtensionParent.DebugUtils.getExtensionManifestWarnings(
|
||||
this.addonId
|
||||
|
|
Загрузка…
Ссылка в новой задаче