Index: bindings/tests/idls/modules/TestInterface5.idl |
diff --git a/bindings/tests/idls/modules/TestInterface5.idl b/bindings/tests/idls/modules/TestInterface5.idl |
index 72e8535ff3904341ffce5737d63f05826e6ac3e6..d08b7cb7a19fd456482e3d3524fdc1a3065efd39 100644 |
--- a/bindings/tests/idls/modules/TestInterface5.idl |
+++ b/bindings/tests/idls/modules/TestInterface5.idl |
@@ -31,16 +31,17 @@ |
// Test for interface extended attributes and special operations. |
// Also used as a target by TestObject |
+enum TestEnumModules { "EnumModulesValue1", "EnumModulesValue2" }; |
+ |
[ |
ActiveDOMObject, |
Conditional=CONDITION, |
- Custom=(LegacyCallAsFunction,ToV8), |
+ Custom=LegacyCallAsFunction, |
DoNotCheckConstants, |
ImplementedAs=TestInterface5Implementation, |
- Iterable, |
RuntimeEnabled=FeatureName, |
SetWrapperReferenceTo(TestInterface5 referencedName), |
- TypeChecking=(Interface,Unrestricted), |
+ TypeChecking=Interface, |
Exposed=(Worker,Window), |
] interface TestInterface5 : TestInterfaceEmpty { |
// members needed to test [ImplementedAs], as this affect attribute |
@@ -88,5 +89,11 @@ |
[Exposed=Window] attribute long windowExposedAttribute; |
[Exposed=(Window,ServiceWorker)] void windowAndServiceWorkerExposedMethod(); |
+ |
+ // Union types |
+ void voidMethodBooleanOrDOMStringArg((boolean or DOMString) arg); |
+ void voidMethodDoubleOrDOMStringArg((double or DOMString) arg); |
+ |
+ iterable<any>; |
}; |