blob: 5dec69aba02871f7368f381b94ea5070bd0c78d8 [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/#blqs-class
[
Exposed=(Window,Worker,Worklet)
] interface ByteLengthQueuingStrategy {
[CallWith=ScriptState, MeasureAs=ByteLengthQueuingStrategyConstructor] constructor(QueuingStrategyInit init);
readonly attribute unrestricted double highWaterMark;
// The standard specifies "Function" but the IDL compiler doesn't like it.
[CallWith=ScriptState] readonly attribute any size;
};