blob: c344bc43b962d0d749ba7a4861f8d589adb87316 [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Example WebIDL compatible schema for testing API definition features.
// This will be added to as support for each features is implemented.
dictionary ExampleType {
DOMString someString;
double someNumber;
boolean? optionalBoolean;
};
interface TestWebIdl {
static void returnsVoid();
static boolean returnsBoolean();
static double returnsDouble();
static long returnsLong();
static DOMString returnsDOMString();
};
partial interface Browser {
static attribute TestWebIdl testWebIdl;
};