blob: fca10ee2218ed7737d2809799035e802618aa6a7 [file] [log] [blame]
// 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)
] interface CountQueuingStrategy {
[CallWith=ScriptState, MeasureAs=CountQueuingStrategyConstructor] constructor([PermissiveDictionaryConversion] QueuingStrategyInit init);
[CallWith=ScriptState] readonly attribute any highWaterMark;
// size is an accessor that returns a function.
[CallWith=ScriptState] readonly attribute any size;
};