blob: f8d2306379f294d04f452569027ada63b0025711 [file] [log] [blame]
// 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://w3c.github.io/ServiceWorker/#enumdef-clienttype
enum ClientType {
"window",
"worker",
"sharedworker",
"all"
};
// https://wicg.github.io/page-lifecycle/#serviceworker-clients-dfn
enum ClientLifecycleStateQuery {
"active",
"frozen",
"all"
};
// https://w3c.github.io/ServiceWorker/#dictdef-clientqueryoptions
dictionary ClientQueryOptions {
boolean includeUncontrolled = false;
ClientType type = "window";
};