зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 3a626a11ac38 (bug 1097468) for B2G ICS Emulator m1 test failures
--HG-- extra : rebase_source : 15927fe3ada3005ad4cde630c480e1d0b04cf0f9
This commit is contained in:
Родитель
2346760fd1
Коммит
47611f8971
|
@ -24,7 +24,7 @@ enum LocaleResourceType {
|
|||
[NoInterfaceObject, NavigatorProperty="mozApps",
|
||||
JSImplementation="@mozilla.org/webapps;1"]
|
||||
interface DOMApplicationsRegistry {
|
||||
[CheckPermissions="webapps-manage homescreen-webapps-manage"]
|
||||
[CheckPermissions="webapps-manage"]
|
||||
readonly attribute DOMApplicationsManager mgmt;
|
||||
DOMRequest install(DOMString url, optional InstallParameters params);
|
||||
DOMRequest installPackage(DOMString url, optional InstallParameters params);
|
||||
|
@ -116,22 +116,16 @@ interface DOMApplication : EventTarget {
|
|||
|
||||
[JSImplementation="@mozilla.org/webapps/manager;1",
|
||||
ChromeOnly,
|
||||
CheckPermissions="webapps-manage homescreen-webapps-manage"]
|
||||
CheckPermissions="webapps-manage"]
|
||||
interface DOMApplicationsManager : EventTarget {
|
||||
DOMRequest getAll();
|
||||
|
||||
[CheckPermissions="webapps-manage"]
|
||||
DOMRequest getNotInstalled();
|
||||
[CheckPermissions="webapps-manage"]
|
||||
void applyDownload(DOMApplication app);
|
||||
DOMRequest uninstall(DOMApplication app);
|
||||
|
||||
[CheckPermissions="webapps-manage"]
|
||||
Promise<DOMApplication> import(Blob blob);
|
||||
[CheckPermissions="webapps-manage"]
|
||||
Promise<any> extractManifest(Blob blob);
|
||||
|
||||
[CheckPermissions="webapps-manage"]
|
||||
void setEnabled(DOMApplication app, boolean state);
|
||||
Promise<Blob> getIcon(DOMApplication app, DOMString iconID,
|
||||
optional DOMString entryPoint);
|
||||
|
|
Загрузка…
Ссылка в новой задаче