summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/streams/count_queuing_strategy.idl
blob: fe18a1e03dd890ae2067f48cf9bd5e7f7dbe0869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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://streams.spec.whatwg.org/#cqs-class

[
    Exposed=(Window,Worker,Worklet),
    ConstructorCallWith=ScriptState,
    Constructor([PermissiveDictionaryConversion] QueuingStrategyInit init),
    MeasureAs=CountQueuingStrategyConstructor
] interface CountQueuingStrategy {
    [CallWith=ScriptState] readonly attribute any highWaterMark;

    // size is an accessor that returns a function.
    [CallWith=ScriptState] readonly attribute any size;
};