From a065e04d529da1d847b5062a12c46d916408bf32 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 21:46:22 -0500 Subject: update based on https://github.com/mdn/yari/issues/2028 --- .../api/domapplicationsmanager/getall/index.html | 47 ------------ files/pl/web/api/domapplicationsmanager/index.html | 86 ---------------------- .../api/navigator/mozpermissionsettings/index.html | 33 --------- 3 files changed, 166 deletions(-) delete mode 100644 files/pl/web/api/domapplicationsmanager/getall/index.html delete mode 100644 files/pl/web/api/domapplicationsmanager/index.html delete mode 100644 files/pl/web/api/navigator/mozpermissionsettings/index.html (limited to 'files/pl/web/api') diff --git a/files/pl/web/api/domapplicationsmanager/getall/index.html b/files/pl/web/api/domapplicationsmanager/getall/index.html deleted file mode 100644 index 272c82b938..0000000000 --- a/files/pl/web/api/domapplicationsmanager/getall/index.html +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: DOMApplicationsManager.getAll() -slug: Web/API/DomApplicationsManager/getAll -translation_of: Archive/Marketplace/API/DOMApplicationsManager/getAll ---- -

  

- -
{{ ApiRef("Apps") }}
- -

{{ non-standard_header() }}

- -

Summary

- -

Lists all installed apps in the user's repository.

- -

Syntax

- -
window.navigator.mozApps.mgmt.getAll()
-
- -

Return value

- -

getAll() returns a pendingGetAll object. Callers are expected to set the onsuccess and onerror callback properties of the returned object.

- -

pendingGetAll.result will be an array of App objects that contains all the apps installed in the current browser. pendingGetAll.result will be the empty list if no apps are installed. onerror will be called if a serious problem occurs while checking this.

- -

This is a privileged call. navigator.mozApps.mgmt will be null if you do not have the privilege to query apps.

- -

Errors

- -

The following error can be returned in DOMRequest.error.

- -
-
- -
-
DENIED
-
Permission denied.
-
- - - - - -

  

diff --git a/files/pl/web/api/domapplicationsmanager/index.html b/files/pl/web/api/domapplicationsmanager/index.html deleted file mode 100644 index e19495d68e..0000000000 --- a/files/pl/web/api/domapplicationsmanager/index.html +++ /dev/null @@ -1,86 +0,0 @@ ---- -title: DOMApplicationsManager -slug: Web/API/DOMApplicationsManager -tags: - - API - - Apps - - Apps API - - NeedsTranslation - - TopicStub -translation_of: Archive/Marketplace/API/DOMApplicationsManager ---- -

{{ ApiRef("Apps") }}

- -

{{ non-standard_header() }}

- -

Provides support for managing, and Open Web apps in a browser. A manager can be accessed via {{domxref("DOMApplicationsRegistry.mgmt", "Navigator.mozApps.mgmt")}}

- -

Property

- -
-
{{domxref("DOMApplicationsManager.oninstall")}}
-
Is an {{domxref("EventManager")}} call when install event is received.
-
{{domxref("DOMApplicationsManager.onuninstall")}}
-
Is an {{domxref("EventManager")}} call when uninstall event is received.
-
{{domxref("DOMApplicationsManager.onenablestatechange")}}
-
Is an {{domxref("EventManager")}} call when enablestatechange event is received.
-
- -

Methods

- -
-
{{ domxref("DOMApplicationsManager.getAll()") }}
-
Returns all applications.
-
- -

Browser compatibility

- -

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatUnknown() }}16.0{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}16.0{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -

 

diff --git a/files/pl/web/api/navigator/mozpermissionsettings/index.html b/files/pl/web/api/navigator/mozpermissionsettings/index.html deleted file mode 100644 index df0966e04e..0000000000 --- a/files/pl/web/api/navigator/mozpermissionsettings/index.html +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: Navigator.mozPermissionSettings -slug: Web/API/Navigator/mozPermissionSettings -translation_of: Archive/B2G_OS/API/Navigator/mozPermissionSettings ---- -

{{APIRef("Firefox OS")}}{{ non-standard_header() }}

- -

{{ B2GOnlyHeader2('certified') }}

- -

Summary

- -

Returns a {{ domxref("PermissionSettings") }} object you can use to get and set permissions of apps on the Firefox OS platform.

- -

Syntax

- -
var permissions = window.navigator.mozPermissionSettings;
-
- -

Value

- -

navigator.mozPermissionSettings is a {{domxref("PermissionSettings")}} object.

- -

Specification

- -

Not part of any specification.

- -

See also

- - -- cgit v1.2.3-54-g00ecf