From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../api/serviceworkerregistration/scope/index.html | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 files/ja/web/api/serviceworkerregistration/scope/index.html (limited to 'files/ja/web/api/serviceworkerregistration/scope/index.html') diff --git a/files/ja/web/api/serviceworkerregistration/scope/index.html b/files/ja/web/api/serviceworkerregistration/scope/index.html new file mode 100644 index 0000000000..bd6e7b7b4f --- /dev/null +++ b/files/ja/web/api/serviceworkerregistration/scope/index.html @@ -0,0 +1,56 @@ +--- +title: ServiceWorkerRegistration.scope +slug: Web/API/ServiceWorkerRegistration/scope +tags: + - API + - Property + - Reference + - Service Workers + - ServiceWorkerRegistration + - scope +translation_of: Web/API/ServiceWorkerRegistration/scope +--- +
{{APIRef("Service Workers API")}}
+ +

{{domxref("ServiceWorkerRegistration")}} インターフェイスの scope 読み取り専用プロパティは、サービスワーカー登録の一意の識別子を返します。 サービスワーカーは、{{domxref("ServiceWorker")}} を登録する文書と同じオリジンにある必要があります。

+ +
+

: この機能は Web Worker で使用できます。

+
+ +

構文

+ +
var swScope = serviceWorkerRegistration.scope;
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Service Workers', '#dom-serviceworkerregistration-scope', 'ServiceWorkerRegistration.scope')}}{{Spec2('Service Workers')}}初期定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.ServiceWorkerRegistration.scope")}}

+ +

関連情報

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