Name Description Size
test_any_null.py interface DoubleNull { attribute any? foo; }; 318
test_argument_identifier_conflicts.py interface ArgumentIdentifierConflict { void foo(boolean arg1, boolean arg1); }; 352
test_argument_keywords.py interface Foo { void foo(object constructor); }; 682
test_argument_novoid.py interface VoidArgument1 { void foo(void arg2); }; 322
test_arraybuffer.py interface TestArrayBuffer { attribute ArrayBuffer bufferAttr; void bufferMethod(ArrayBuffer arg1, ArrayBuffer? arg2, sequence<ArrayBuffer> arg3); attribute ArrayBufferView viewAttr; void viewMethod(ArrayBufferView arg1, ArrayBufferView? arg2, sequence<ArrayBufferView> arg3); attribute Int8Array int8ArrayAttr; void int8ArrayMethod(Int8Array arg1, Int8Array? arg2, sequence<Int8Array> arg3); attribute Uint8Array uint8ArrayAttr; void uint8ArrayMethod(Uint8Array arg1, Uint8Array? arg2, sequence<Uint8Array> arg3); attribute Uint8ClampedArray uint8ClampedArrayAttr; void uint8ClampedArrayMethod(Uint8ClampedArray arg1, Uint8ClampedArray? arg2, sequence<Uint8ClampedArray> arg3); attribute Int16Array int16ArrayAttr; void int16ArrayMethod(Int16Array arg1, Int16Array? arg2, sequence<Int16Array> arg3); attribute Uint16Array uint16ArrayAttr; void uint16ArrayMethod(Uint16Array arg1, Uint16Array? arg2, sequence<Uint16Array> arg3); attribute Int32Array int32ArrayAttr; void int32ArrayMethod(Int32Array arg1, Int32Array? arg2, sequence<Int32Array> arg3); attribute Uint32Array uint32ArrayAttr; void uint32ArrayMethod(Uint32Array arg1, Uint32Array? arg2, sequence<Uint32Array> arg3); attribute Float32Array float32ArrayAttr; void float32ArrayMethod(Float32Array arg1, Float32Array? arg2, sequence<Float32Array> arg3); attribute Float64Array float64ArrayAttr; void float64ArrayMethod(Float64Array arg1, Float64Array? arg2, sequence<Float64Array> arg3); }; 3899
test_attr_sequence_type.py interface AttrSequenceType { attribute sequence<object> foo; }; 1693
test_attr.py interface TestAttr { attribute byte b; readonly attribute byte rb; attribute octet o; readonly attribute octet ro; attribute short s; readonly attribute short rs; attribute unsigned short us; readonly attribute unsigned short rus; attribute long l; readonly attribute long rl; attribute unsigned long ul; readonly attribute unsigned long rul; attribute long long ll; readonly attribute long long rll; attribute unsigned long long ull; readonly attribute unsigned long long rull; attribute DOMString str; readonly attribute DOMString rstr; attribute object obj; readonly attribute object robj; attribute object _object; attribute float f; readonly attribute float rf; }; interface TestAttrNullable { attribute byte? b; readonly attribute byte? rb; attribute octet? o; readonly attribute octet? ro; attribute short? s; readonly attribute short? rs; attribute unsigned short? us; readonly attribute unsigned short? rus; attribute long? l; readonly attribute long? rl; attribute unsigned long? ul; readonly attribute unsigned long? rul; attribute long long? ll; readonly attribute long long? rll; attribute unsigned long long? ull; readonly attribute unsigned long long? rull; attribute DOMString? str; readonly attribute DOMString? rstr; attribute object? obj; readonly attribute object? robj; attribute object? _object; attribute float? f; readonly attribute float? rf; }; 6863
test_attributes_on_types.py typedef [EnforceRange] long Foo; typedef [Clamp] long Bar; typedef [LegacyNullToEmptyString] DOMString Baz; dictionary A { required [EnforceRange] long a; required [Clamp] long b; [ChromeOnly, EnforceRange] long c; Foo d; }; interface B { attribute Foo typedefFoo; attribute [EnforceRange] long foo; attribute [Clamp] long bar; attribute [LegacyNullToEmptyString] DOMString baz; void method([EnforceRange] long foo, [Clamp] long bar, [LegacyNullToEmptyString] DOMString baz); void method2(optional [EnforceRange] long foo, optional [Clamp] long bar, optional [LegacyNullToEmptyString] DOMString baz); void method3(optional [LegacyNullToEmptyString] UTF8String foo = ""); }; interface C { attribute [EnforceRange] long? foo; attribute [Clamp] long? bar; void method([EnforceRange] long? foo, [Clamp] long? bar); void method2(optional [EnforceRange] long? foo, optional [Clamp] long? bar); }; interface Setlike { setlike<[Clamp] long>; }; interface Maplike { maplike<[Clamp] long, [EnforceRange] long>; }; interface Iterable { iterable<[Clamp] long, [EnforceRange] long>; }; 16862
test_builtin_filename.py interface Test { attribute long b; }; 280
test_builtins.py interface TestBuiltins { attribute boolean b; attribute byte s8; attribute octet u8; attribute short s16; attribute unsigned short u16; attribute long s32; attribute unsigned long u32; attribute long long s64; attribute unsigned long long u64; attribute DOMTimeStamp ts; }; 1946
test_bytestring.py interface TestByteString { attribute ByteString bs; attribute DOMString ds; }; 3946
test_callback_constructor.py interface TestCallbackConstructor { attribute CallbackConstructorType? constructorAttribute; }; callback constructor CallbackConstructorType = TestCallbackConstructor (unsigned long arg); 2582
test_callback_interface.py callback interface TestCallbackInterface { attribute boolean bool; }; 2887
test_callback.py interface TestCallback { attribute CallbackType? listener; }; callback CallbackType = boolean (unsigned long arg); 1603
test_cereactions.py interface Foo { [CEReactions(DOMString a)] void foo(boolean arg2); }; 3465
test_conditional_dictionary_member.py dictionary Dict { any foo; [ChromeOnly] any bar; }; 3229
test_const.py interface TestConsts { const byte zero = 0; const byte b = -1; const octet o = 2; const short s = -3; const unsigned short us = 0x4; const long l = -0X5; const unsigned long ul = 6; const unsigned long long ull = 7; const long long ll = -010; const boolean t = true; const boolean f = false; const float fl = 0.2; const double db = 0.2; const unrestricted float ufl = 0.2; const unrestricted double udb = 0.2; const float fli = 2; const double dbi = 2; const unrestricted float ufli = 2; const unrestricted double udbi = 2; }; 3579
test_constructor_global.py [Global, Exposed=TestConstructorGlobal] interface TestConstructorGlobal { constructor(); }; 1603
test_constructor_no_interface_object.py [LegacyNoInterfaceObject] interface TestConstructorLegacyNoInterfaceObject { constructor(); }; 1050
test_constructor.py 16822
test_deduplicate.py interface Foo; interface Bar; interface Foo; 482
test_dictionary.py dictionary Dict2 : Dict1 { long child = 5; Dict1 aaandAnother; }; dictionary Dict1 { long parent; double otherParent; }; 19804
test_distinguishability.py // Give our dictionary a required member so we don't need to // mess with optional and default values. dictionary Dict { required long member; }; callback interface Foo { }; interface Bar { // Bit of a pain to get things that have dictionary types void passDict(Dict arg); void passFoo(Foo arg); void passNullableUnion((object? or DOMString) arg); void passNullable(Foo? arg); }; 13262
test_double_null.py interface DoubleNull { attribute byte?? foo; }; 320
test_duplicate_qualifiers.py interface DuplicateQualifiers1 { getter getter byte foo(unsigned long index); }; 1338
test_empty_enum.py enum TestEmptyEnum { }; 326
test_empty_sequence_default_value.py interface X { const sequence<long> foo = []; }; 1173
test_enum_duplicate_values.py enum TestEnumDuplicateValue { "", "" }; 340
test_enum.py enum TestEnum { "", "foo", "bar" }; interface TestEnumInterface { TestEnum doFoo(boolean arg); readonly attribute TestEnum foo; }; 3179
test_error_colno.py 668
test_error_lineno.py \ // This is a comment. interface Foo { }; /* This is also a comment. */ interface ? 1014
test_exposed_extended_attribute.py [Global, Exposed=Foo] interface Foo {}; [Global=(Bar, Bar1,Bar2), Exposed=Bar] interface Bar {}; [Global=(Baz, Baz2), Exposed=Baz] interface Baz {}; [Exposed=(Foo,Bar1)] interface Iface { void method1(); [Exposed=Bar1] readonly attribute any attr; }; [Exposed=Foo] partial interface Iface { void method2(); }; 7575
test_extended_attributes.py [LegacyNoInterfaceObject] interface TestExtendedAttr { [LegacyUnforgeable] readonly attribute byte b; }; 3088
test_float_types.py typedef float myFloat; typedef unrestricted float myUnrestrictedFloat; interface FloatTypes { attribute float f; attribute unrestricted float uf; attribute double d; attribute unrestricted double ud; [LenientFloat] attribute float lf; [LenientFloat] attribute double ld; void m1(float arg1, double arg2, float? arg3, double? arg4, myFloat arg5, unrestricted float arg6, unrestricted double arg7, unrestricted float? arg8, unrestricted double? arg9, myUnrestrictedFloat arg10); [LenientFloat] void m2(float arg1, double arg2, float? arg3, double? arg4, myFloat arg5, unrestricted float arg6, unrestricted double arg7, unrestricted float? arg8, unrestricted double? arg9, myUnrestrictedFloat arg10); [LenientFloat] void m3(float arg); [LenientFloat] void m4(double arg); [LenientFloat] void m5((float or FloatTypes) arg); [LenientFloat] void m6(sequence<float> arg); }; 4530
test_forward_decl.py interface ForwardDeclared; interface ForwardDeclared; interface TestForwardDecl { attribute ForwardDeclared foo; }; 360
test_global_extended_attr.py [Global, Exposed=Foo] interface Foo : Bar { getter any(DOMString name); }; [Exposed=Foo] interface Bar {}; 2814
test_identifier_conflict.py enum Foo { "a" }; interface Foo; 1278
test_incomplete_parent.py interface TestIncompleteParent : NotYetDefined { void foo(); }; interface NotYetDefined : EvenHigherOnTheChain { }; interface EvenHigherOnTheChain { }; 404
test_incomplete_types.py interface TestIncompleteTypes { attribute FooInterface attr1; FooInterface method1(FooInterface arg); }; interface FooInterface { }; 1777
test_interface_const_identifier_conflicts.py interface IdentifierConflict { const byte thing1 = 1; const unsigned long thing1 = 1; }; 375
test_interface_identifier_conflicts_across_members.py interface IdentifierConflictAcrossMembers1 { const byte thing1 = 1; readonly attribute long thing1; }; 1459
test_interface_maplikesetlikeiterable.py interface Foo1 { iterable<long>; readonly attribute unsigned long length; getter long(unsigned long index); attribute long unrelatedAttribute; long unrelatedMethod(); }; 22486
test_interface.py interface QNameBase { attribute long foo; }; interface QNameDerived : QNameBase { attribute long long foo; attribute byte bar; }; 12214
test_interfacemixin.py interface mixin QNameBase { const long foo = 3; }; 13605
test_lenientSetter.py interface I { [LegacyLenientSetter=X] readonly attribute long A; }; 2122
test_method.py interface TestMethods { void basic(); static void basicStatic(); void basicWithSimpleArgs(boolean arg1, byte arg2, unsigned long arg3); boolean basicBoolean(); static boolean basicStaticBoolean(); boolean basicBooleanWithSimpleArgs(boolean arg1, byte arg2, unsigned long arg3); void optionalArg(optional byte? arg1, optional sequence<byte> arg2); void variadicArg(byte?... arg1); object getObject(); void setObject(object arg1); void setAny(any arg1); float doFloats(float arg1); }; 12431
test_namespace.py namespace MyNamespace { attribute any foo; any bar(); }; 5782
test_newobject.py interface Iface { [NewObject] readonly attribute Iface attr; [NewObject] Iface method(); }; 1923
test_nullable_equivalency.py interface TestNullableEquivalency1 { attribute long a; attribute long? b; }; interface TestNullableEquivalency2 { attribute ArrayBuffer a; attribute ArrayBuffer? b; }; /* Can't have dictionary-valued attributes, so can't test that here */ enum TestNullableEquivalency4Enum { "Foo", "Bar" }; interface TestNullableEquivalency4 { attribute TestNullableEquivalency4Enum a; attribute TestNullableEquivalency4Enum? b; }; interface TestNullableEquivalency5 { attribute TestNullableEquivalency4 a; attribute TestNullableEquivalency4? b; }; interface TestNullableEquivalency6 { attribute boolean a; attribute boolean? b; }; interface TestNullableEquivalency7 { attribute DOMString a; attribute DOMString? b; }; interface TestNullableEquivalency8 { attribute float a; attribute float? b; }; interface TestNullableEquivalency9 { attribute double a; attribute double? b; }; interface TestNullableEquivalency10 { attribute object a; attribute object? b; }; 3936
test_nullable_void.py interface NullableVoid { void? foo(); }; 313
test_optional_constraints.py interface OptionalConstraints1 { void foo(optional byte arg1, byte arg2); }; 990
test_overload.py interface TestOverloads { void basic(); void basic(long arg1); boolean abitharder(TestOverloads foo); boolean abitharder(boolean foo); void abitharder(ArrayBuffer? foo); void withVariadics(long... numbers); void withVariadics(TestOverloads iface); void withVariadics(long num, TestOverloads iface); void optionalTest(); void optionalTest(optional long num1, long num2); }; 2673
test_promise.py interface A { legacycaller Promise<any> foo(); }; 4067
test_prototype_ident.py interface TestIface { static attribute boolean prototype; }; 2612
test_putForwards.py interface I { [PutForwards=B] readonly attribute long A; }; 2468
test_record.py dictionary Dict {}; interface RecordArg { void foo(record<DOMString, Dict> arg); }; 1640
test_replaceable.py interface I { [Replaceable=X] readonly attribute long A; }; 2028
test_sanity.py 252
test_securecontext_extended_attribute.py [SecureContext] interface TestSecureContextOnInterface { const octet TEST_CONSTANT = 0; readonly attribute byte testAttribute; void testMethod(byte foo); }; partial interface TestSecureContextOnInterface { const octet TEST_CONSTANT_2 = 0; readonly attribute byte testAttribute2; void testMethod2(byte foo); }; 17564
test_special_method_signature_mismatch.py interface SpecialMethodSignatureMismatch1 { getter long long foo(long index); }; 5366
test_special_methods_uniqueness.py interface SpecialMethodUniqueness1 { getter deleter boolean (DOMString name); getter boolean (DOMString name); }; 1145
test_special_methods.py interface SpecialMethods { getter long long (unsigned long index); setter long long (unsigned long index, long long value); getter boolean (DOMString name); setter boolean (DOMString name, boolean value); deleter boolean (DOMString name); readonly attribute unsigned long length; }; interface SpecialMethodsCombination { getter deleter boolean (DOMString name); }; 3193
test_stringifier.py interface TestStringifier { stringifier; }; 4848
test_toJSON.py interface Test { object toJSON(); }; 8633
test_treatNonCallableAsNull.py [TreatNonCallableAsNull] callback Function = any(any... arguments); interface TestTreatNonCallableAsNull1 { attribute Function? onfoo; attribute Function onbar; }; 1788
test_typedef_identifier_conflict.py typedef long foo; typedef long foo; 474
test_typedef.py typedef long mylong; typedef long? mynullablelong; interface Foo { const mylong X = 5; void foo(optional mynullablelong arg = 7); void bar(optional mynullablelong arg = null); void baz(mylong arg); }; 2049
test_unenumerable_own_properties.py interface Foo {}; [LegacyUnenumerableNamedProperties] interface Bar : Foo { getter long(DOMString name); }; interface Baz : Bar { getter long(DOMString name); }; 1703
test_unforgeable.py interface Child : Parent { }; interface Parent { [LegacyUnforgeable] readonly attribute long foo; }; 7440
test_union_any.py interface AnyNotInUnion { void foo((any or DOMString) arg); }; 335
test_union_nullable.py interface OneNullableInUnion { void foo((object? or DOMString?) arg); }; 1329
test_union.py interface TestInterface1 { }; interface TestInterface2 { }; 5399
test_usvstring.py interface TestUSVString { attribute USVString svs; }; 1357
test_variadic_callback.py callback TestVariadicCallback = any(any... arguments); 264
test_variadic_constraints.py interface VariadicConstraints1 { void foo(byte... arg1, byte arg2); }; 1630