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 | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 files/ja/web/api/domapplicationsmanager/getall/index.html (limited to 'files/ja/web/api/domapplicationsmanager/getall/index.html') diff --git a/files/ja/web/api/domapplicationsmanager/getall/index.html b/files/ja/web/api/domapplicationsmanager/getall/index.html deleted file mode 100644 index 3c01a9c81a..0000000000 --- a/files/ja/web/api/domapplicationsmanager/getall/index.html +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: Apps.mgmt.getAll -slug: Web/API/DOMApplicationsManager/getAll -tags: - - API - - Apps - - Apps API - - Firefox OS - - Method -translation_of: Archive/Marketplace/API/DOMApplicationsManager/getAll ---- -

{{ ApiRef() }}

-

{{ non-standard_header() }}

-

概要

-

ユーザのレポジトリにインストールされているアプリ一覧を取得します。

-

構文

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

引数

-

ありません。

-

戻り値

-

getAll()pendingGetAll オブジェクトを返します。呼び出し元は戻り値オブジェクトの onsuccessonerror コールバックプロパティを設定することが期待されます。

-

pendingGetAll.result は、現在のブラウザにインストールされているすべてのアプリを含んだ App オブジェクトの配列となります。何もアプリがインストールされていない場合、pendingGetAll.result は空の配列となります。アプリの取得時に深刻な問題が発生した場合、onerror が呼び出されます。

-

これは特権付き呼び出しです。アプリを取得する特権がない場合、navigator.mozApps.mgmtnull となります。

-

エラー

-

以下のエラーが DOMRequest.error で返される可能性があります。

-
-
-
-
- DENIED
-
- 権限なし。
-
- - -- cgit v1.2.3-54-g00ecf