Index: third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl |
diff --git a/third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl b/third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl |
index ec0fe4e21ffee7a47b9734e9d444408739094872..6d6c7447f5185b5d784c9e4fa6783549abb01fab 100644 |
--- a/third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl |
+++ b/third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl |
@@ -61,12 +61,22 @@ interface TestObject { |
// Extended attributes |
[DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; |
+ [ExperimentEnabled=FeatureName1] const short FEATURE1_EXPERIMENT_ENABLED_CONST1 = 1; |
+ [ExperimentEnabled=FeatureName1] const short FEATURE1_EXPERIMENT_ENABLED_CONST2 = 2; |
+ [ExperimentEnabled=FeatureName2] const short FEATURE2_EXPERIMENT_ENABLED_CONST1 = 3; |
+ [ExperimentEnabled=FeatureName2] const short FEATURE2_EXPERIMENT_ENABLED_CONST2 = 4; |
+ [ExperimentEnabled=FeatureName3] const short FEATURE3_EXPERIMENT_ENABLED_CONST1 = 5; |
[MeasureAs=Constant] const short MEASURED_CONSTANT = 1; |
[RuntimeEnabled=FeatureName1] const short FEATURE1_ENABLED_CONST1 = 1; |
[RuntimeEnabled=FeatureName1] const short FEATURE1_ENABLED_CONST2 = 2; |
[RuntimeEnabled=FeatureName2] const short FEATURE2_ENABLED_CONST1 = 3; |
[RuntimeEnabled=FeatureName2] const short FEATURE2_ENABLED_CONST2 = 4; |
[RuntimeEnabled=FeatureName3] const short FEATURE3_ENABLED_CONST1 = 5; |
+ [RuntimeEnabled=FeatureName1, ExperimentEnabled=FeatureName1] const short FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 1; |
+ [RuntimeEnabled=FeatureName1, ExperimentEnabled=FeatureName1] const short FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2 = 2; |
+ [RuntimeEnabled=FeatureName2, ExperimentEnabled=FeatureName2] const short FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 3; |
+ [RuntimeEnabled=FeatureName2, ExperimentEnabled=FeatureName2] const short FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2 = 4; |
+ [RuntimeEnabled=FeatureName3, ExperimentEnabled=FeatureName3] const short FEATURE3_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 5; |
[Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; |
stringifier attribute DOMString stringifierAttribute; |
@@ -191,6 +201,8 @@ interface TestObject { |
[CustomElementCallbacks] readonly attribute long customElementsCallbacksReadonlyLongAttribute; |
[DeprecateAs=LongAttribute] attribute long deprecatedLongAttribute; |
[EnforceRange] attribute long enforceRangeLongAttribute; |
+ [ExperimentEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long experimentRuntimeEnabledLongAttribute; |
+ [ExperimentEnabled=FeatureName, Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long experimentConditionalRuntimeEnabledLongAttribute; |
[ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; |
[Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImplementedAsLongAttribute; |
[Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute long customGetterImplementedAsLongAttribute; |
@@ -263,6 +275,7 @@ interface TestObject { |
[Measure] attribute long measuredLongAttribute; |
[SameObject] attribute TestInterface sameObjectAttribute; |
[Unscopeable] attribute long unscopeableLongAttribute; |
+ [Unscopeable, ExperimentEnabled=FeatureName] attribute long unscopeableExperimentEnabledLongAttribute; |
[Unscopeable, RuntimeEnabled=FeatureName] attribute long unscopeableRuntimeEnabledLongAttribute; |
[Unscopeable] void unscopeableVoidMethod(); |
[Unscopeable, RuntimeEnabled=FeatureName] void unscopeableRuntimeEnabledVoidMethod(); |
@@ -528,6 +541,14 @@ interface TestObject { |
[CustomElementCallbacks] void customElementCallbacksVoidMethod(); |
[DeprecateAs=voidMethod] void deprecatedVoidMethod(); |
[DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); |
+ [ExperimentEnabled=FeatureName] void experimentEnabledVoidMethod(); |
+ [PerWorldBindings, ExperimentEnabled=FeatureName] void perWorldBindingsExperimentEnabledVoidMethod(); |
+ [ExperimentEnabled=FeatureName] void experimentEnabledOverloadedVoidMethod(DOMString stringArg); |
+ [ExperimentEnabled=FeatureName] void experimentEnabledOverloadedVoidMethod(long longArg); |
+ [ExperimentEnabled=FeatureName1] void partiallyExperimentEnabledOverloadedVoidMethod(DOMString stringArg); |
+ [ExperimentEnabled=FeatureName2] void partiallyExperimentEnabledOverloadedVoidMethod(TestInterface testInterfaceArg); |
+ void partiallyExperimentEnabledOverloadedVoidMethod(long longArg, DOMString stringArg); |
+ [ExperimentEnabled=FeatureName3] void partiallyExperimentEnabledOverloadedVoidMethod(long longArg, DOMString stringArg, TestInterface testInterfaceArg); |
[ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); |
[MeasureAs=TestFeature] void measureAsVoidMethod(); |
[Measure] void measureMethod(); |