| // 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; |
| }; |