chromium/third_party/blink/renderer/core/scheduler/window_or_worker_scheduler.idl

// Copyright 2019 The Chromium Authors
// 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 {
  [SameObject, Replaceable] readonly attribute Scheduler scheduler;
};