blob: 9fd3cb6360b52d6917e84959dd54982731d88146 [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
dictionary ArrayBufferDict {
required ArrayBuffer requiredArrayBuffer;
ArrayBuffer optionalArrayBuffer;
};
// Schema to test 'ArrayBuffer' types in IDL.
interface ArrayBufferTypes {
static undefined arrayBufferParamFunction(
ArrayBuffer requiredArrayBufferParam,
optional ArrayBuffer optionalArrayBufferParam);
};
partial interface Browser {
static attribute ArrayBufferTypes arrayBufferTypes;
};