Index: Source/bindings/tests/idls/TestInterface.idl |
diff --git a/Source/bindings/tests/idls/TestInterface.idl b/Source/bindings/tests/idls/TestInterface.idl |
index 17716c80bb44a0e8d732750c33bbbbb669bc7845..ad963f2119b258de900f69fb918255a9e0c926a9 100644 |
--- a/Source/bindings/tests/idls/TestInterface.idl |
+++ b/Source/bindings/tests/idls/TestInterface.idl |
@@ -39,7 +39,7 @@ |
ImplementedAs=TestInterfaceImplementation, |
RuntimeEnabled=FeatureName, |
SetWrapperReferenceTo(TestInterface referencedName), |
- TypeChecking=Interface|Nullable, |
+ TypeChecking=Interface|Nullable|Unrestricted, |
] interface TestInterface : TestInterfaceEmpty { |
// members needed to test [ImplementedAs], as this affect attribute |
// configuration and method configuration, and [TypeChecking] |
@@ -49,9 +49,15 @@ |
attribute TestInterface testInterfaceAttribute; // Self-referential interface type with [ImplementedAs] |
attribute TestImplementedAsConstructor testImplementedAsConstructorAttribute; |
+ attribute double doubleAttribute; |
+ attribute float floatAttribute; |
+ attribute unrestricted double unrestrictedDoubleAttribute; |
+ attribute unrestricted float unrestrictedFloatAttribute; |
static attribute DOMString staticStringAttribute; |
void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyArg); |
+ void voidMethodDoubleArgFloatArg(double doubleArg, float floatArg); |
+ void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg(unrestricted double unrestrictedDoubleArg, unrestricted float unrestrictedFloatArg); |
[PerWorldBindings] attribute DOMString perWorldBindingsStringAttribute; |
[PerWorldBindings] void voidMethod(); |