summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/scheduler/window_or_worker_scheduler.idl
blob: 5c729427d687c5639ecd98221914b73f0eb164eb (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2019 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://wicg.github.io/scheduling-apis/#sec-patches-html-windoworworkerglobalscope
[
    ImplementedAs=DOMScheduler,
    Exposed=(Window,Worker)
] partial interface mixin WindowOrWorkerGlobalScope {
  [RuntimeEnabled=WebScheduler, SameObject, Replaceable] readonly attribute Scheduler scheduler;
};