Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Unified Diff: Source/bindings/tests/idls/TestInterface.idl

Issue 259773008: Add support for type checking of floating point arguments as [TypeChecking=Unrestricted] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove outdated test Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/idls/TestObject.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/idls/TestObject.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698