blob: d15694ba2ac9255df3434704e81a9980dc54c7f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#clients-interface
[
Exposed=ServiceWorker,
GarbageCollected,
ImplementedAs=ServiceWorkerClients,
] interface Clients {
[CallWith=ScriptState] Promise<sequence<Client>> matchAll(optional ClientQueryOptions options);
[RuntimeEnabled=ServiceWorkerClientAttributes, CallWith=ScriptState] Promise<WindowClient?> openWindow(USVString url);
[CallWith=ScriptState] Promise<void> claim();
};
|