| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 const float CONST_VALUE_25 = 1; | 60 const float CONST_VALUE_25 = 1; |
| 61 | 61 |
| 62 // Extended attributes | 62 // Extended attributes |
| 63 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; | 63 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; |
| 64 [MeasureAs=Constant] const short MEASURED_CONSTANT = 1; | 64 [MeasureAs=Constant] const short MEASURED_CONSTANT = 1; |
| 65 [RuntimeEnabled=FeatureName1] const short FEATURE1_ENABLED_CONST1 = 1; | 65 [RuntimeEnabled=FeatureName1] const short FEATURE1_ENABLED_CONST1 = 1; |
| 66 [RuntimeEnabled=FeatureName1] const short FEATURE1_ENABLED_CONST2 = 2; | 66 [RuntimeEnabled=FeatureName1] const short FEATURE1_ENABLED_CONST2 = 2; |
| 67 [RuntimeEnabled=FeatureName2] const short FEATURE2_ENABLED_CONST1 = 3; | 67 [RuntimeEnabled=FeatureName2] const short FEATURE2_ENABLED_CONST1 = 3; |
| 68 [RuntimeEnabled=FeatureName2] const short FEATURE2_ENABLED_CONST2 = 4; | 68 [RuntimeEnabled=FeatureName2] const short FEATURE2_ENABLED_CONST2 = 4; |
| 69 [RuntimeEnabled=FeatureName3] const short FEATURE3_ENABLED_CONST1 = 5; | 69 [RuntimeEnabled=FeatureName3] const short FEATURE3_ENABLED_CONST1 = 5; |
| 70 [RuntimeEnabled=FeatureName1, APIExperimentEnabled=FeatureName1] const short
FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 1; | 70 [RuntimeEnabled=FeatureName1, OriginTrialEnabled=FeatureName1] const short F
EATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 1; |
| 71 [RuntimeEnabled=FeatureName1, APIExperimentEnabled=FeatureName1] const short
FEATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2 = 2; | 71 [RuntimeEnabled=FeatureName1, OriginTrialEnabled=FeatureName1] const short F
EATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2 = 2; |
| 72 [RuntimeEnabled=FeatureName2, APIExperimentEnabled=FeatureName2] const short
FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 3; | 72 [RuntimeEnabled=FeatureName2, OriginTrialEnabled=FeatureName2] const short F
EATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 3; |
| 73 [RuntimeEnabled=FeatureName2, APIExperimentEnabled=FeatureName2] const short
FEATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2 = 4; | 73 [RuntimeEnabled=FeatureName2, OriginTrialEnabled=FeatureName2] const short F
EATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2 = 4; |
| 74 [RuntimeEnabled=FeatureName3, APIExperimentEnabled=FeatureName3] const short
FEATURE3_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 5; | 74 [RuntimeEnabled=FeatureName3, OriginTrialEnabled=FeatureName3] const short F
EATURE3_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 5; |
| 75 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; | 75 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; |
| 76 | 76 |
| 77 stringifier attribute DOMString stringifierAttribute; | 77 stringifier attribute DOMString stringifierAttribute; |
| 78 | 78 |
| 79 // Attributes | 79 // Attributes |
| 80 // | 80 // |
| 81 // Naming convention: | 81 // Naming convention: |
| 82 // [ExtAttr] attribute Type extAttrTypeNameAttribute; | 82 // [ExtAttr] attribute Type extAttrTypeNameAttribute; |
| 83 // E.g., | 83 // E.g., |
| 84 // [Foo] attribute DOMString? fooStringOrNullAttribute | 84 // [Foo] attribute DOMString? fooStringOrNullAttribute |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu
te; | 187 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu
te; |
| 188 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes
tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute; | 188 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes
tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute; |
| 189 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea
tureNameTestInterfaceEmptyConstructorAttribute; | 189 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea
tureNameTestInterfaceEmptyConstructorAttribute; |
| 190 [Custom] attribute object customObjectAttribute; | 190 [Custom] attribute object customObjectAttribute; |
| 191 [Custom=Getter] attribute long customGetterLongAttribute; | 191 [Custom=Getter] attribute long customGetterLongAttribute; |
| 192 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut
e; | 192 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut
e; |
| 193 [Custom=Setter] attribute long customSetterLongAttribute; | 193 [Custom=Setter] attribute long customSetterLongAttribute; |
| 194 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead
onlyLongAttribute; | 194 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead
onlyLongAttribute; |
| 195 [DeprecateAs=LongAttribute] attribute long deprecatedLongAttribute; | 195 [DeprecateAs=LongAttribute] attribute long deprecatedLongAttribute; |
| 196 [EnforceRange] attribute long enforceRangeLongAttribute; | 196 [EnforceRange] attribute long enforceRangeLongAttribute; |
| 197 [APIExperimentEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute lon
g experimentRuntimeEnabledLongAttribute; | 197 [OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long
experimentRuntimeEnabledLongAttribute; |
| 198 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; | 198 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; |
| 199 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp
lementedAsLongAttribute; | 199 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp
lementedAsLongAttribute; |
| 200 [Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customGetterImplementedAsLongAttribute; | 200 [Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customGetterImplementedAsLongAttribute; |
| 201 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customSetterImplementedAsLongAttribute; | 201 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customSetterImplementedAsLongAttribute; |
| 202 [MeasureAs=TestFeature] attribute long measureAsLongAttribute; | 202 [MeasureAs=TestFeature] attribute long measureAsLongAttribute; |
| 203 [NotEnumerable] attribute long notEnumerableLongAttribute; | 203 [NotEnumerable] attribute long notEnumerableLongAttribute; |
| 204 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea
donlyTestInterfaceEmptyAttribute; | 204 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea
donlyTestInterfaceEmptyAttribute; |
| 205 [LogActivity, LogAllWorlds, PerWorldBindings] attribute long activityLogging
AccessPerWorldBindingsLongAttribute; | 205 [LogActivity, LogAllWorlds, PerWorldBindings] attribute long activityLogging
AccessPerWorldBindingsLongAttribute; |
| 206 [LogActivity, PerWorldBindings] attribute long activityLoggingAccessForIsola
tedWorldsPerWorldBindingsLongAttribute; | 206 [LogActivity, PerWorldBindings] attribute long activityLoggingAccessForIsola
tedWorldsPerWorldBindingsLongAttribute; |
| 207 [LogActivity=GetterOnly, LogAllWorlds, PerWorldBindings] attribute long acti
vityLoggingGetterPerWorldBindingsLongAttribute; | 207 [LogActivity=GetterOnly, LogAllWorlds, PerWorldBindings] attribute long acti
vityLoggingGetterPerWorldBindingsLongAttribute; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 [TreatReturnedNullStringAs=Undefined] attribute USVString treatReturnedNullS
tringAsUndefinedUSVStringAttribute; | 259 [TreatReturnedNullStringAs=Undefined] attribute USVString treatReturnedNullS
tringAsUndefinedUSVStringAttribute; |
| 260 [LegacyInterfaceTypeChecking] attribute float legacyInterfaceTypeCheckingFlo
atAttribute; // nop for non-interface types | 260 [LegacyInterfaceTypeChecking] attribute float legacyInterfaceTypeCheckingFlo
atAttribute; // nop for non-interface types |
| 261 [LegacyInterfaceTypeChecking] attribute TestInterface legacyInterfaceTypeChe
ckingTestInterfaceAttribute; | 261 [LegacyInterfaceTypeChecking] attribute TestInterface legacyInterfaceTypeChe
ckingTestInterfaceAttribute; |
| 262 [LegacyInterfaceTypeChecking] attribute TestInterface? legacyInterfaceTypeCh
eckingTestInterfaceOrNullAttribute; | 262 [LegacyInterfaceTypeChecking] attribute TestInterface? legacyInterfaceTypeCh
eckingTestInterfaceOrNullAttribute; |
| 263 [Reflect, URL] attribute DOMString urlStringAttribute; | 263 [Reflect, URL] attribute DOMString urlStringAttribute; |
| 264 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; | 264 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; |
| 265 [Unforgeable] attribute long unforgeableLongAttribute; | 265 [Unforgeable] attribute long unforgeableLongAttribute; |
| 266 [Measure] attribute long measuredLongAttribute; | 266 [Measure] attribute long measuredLongAttribute; |
| 267 [SameObject] attribute TestInterface sameObjectAttribute; | 267 [SameObject] attribute TestInterface sameObjectAttribute; |
| 268 [Unscopeable] attribute long unscopeableLongAttribute; | 268 [Unscopeable] attribute long unscopeableLongAttribute; |
| 269 [Unscopeable, APIExperimentEnabled=FeatureName, RuntimeEnabled=FeatureName]
attribute long unscopeableExperimentEnabledLongAttribute; | 269 [Unscopeable, OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName] at
tribute long unscopeableExperimentEnabledLongAttribute; |
| 270 [Unscopeable, RuntimeEnabled=FeatureName] attribute long unscopeableRuntimeE
nabledLongAttribute; | 270 [Unscopeable, RuntimeEnabled=FeatureName] attribute long unscopeableRuntimeE
nabledLongAttribute; |
| 271 [Unscopeable] void unscopeableVoidMethod(); | 271 [Unscopeable] void unscopeableVoidMethod(); |
| 272 [Unscopeable, RuntimeEnabled=FeatureName] void unscopeableRuntimeEnabledVoid
Method(); | 272 [Unscopeable, RuntimeEnabled=FeatureName] void unscopeableRuntimeEnabledVoid
Method(); |
| 273 | 273 |
| 274 | 274 |
| 275 // Methods | 275 // Methods |
| 276 // | 276 // |
| 277 // Naming convention: | 277 // Naming convention: |
| 278 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); | 278 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); |
| 279 // E.g., | 279 // E.g., |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 [CallWith=ActiveWindow] void callWithActiveWindow(); | 522 [CallWith=ActiveWindow] void callWithActiveWindow(); |
| 523 [CallWith=(ActiveWindow,FirstWindow)] void callWithActiveWindowScriptWindow(
); | 523 [CallWith=(ActiveWindow,FirstWindow)] void callWithActiveWindowScriptWindow(
); |
| 524 [CallWith=ThisValue] void callWithThisValue(); | 524 [CallWith=ThisValue] void callWithThisValue(); |
| 525 [CheckSecurity=ReturnValue] void checkSecurityForNodeVoidMethod(); | 525 [CheckSecurity=ReturnValue] void checkSecurityForNodeVoidMethod(); |
| 526 [Custom] void customVoidMethod(); | 526 [Custom] void customVoidMethod(); |
| 527 [Custom=CallPrologue] void customCallPrologueVoidMethod(); | 527 [Custom=CallPrologue] void customCallPrologueVoidMethod(); |
| 528 [Custom=CallEpilogue] void customCallEpilogueVoidMethod(); | 528 [Custom=CallEpilogue] void customCallEpilogueVoidMethod(); |
| 529 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); | 529 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); |
| 530 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); | 530 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); |
| 531 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); | 531 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); |
| 532 [APIExperimentEnabled=FeatureName, RuntimeEnabled=FeatureName1] void experim
entEnabledVoidMethod(); | 532 [OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName1] void experimen
tEnabledVoidMethod(); |
| 533 [PerWorldBindings, APIExperimentEnabled=FeatureName, RuntimeEnabled=FeatureN
ame1] void perWorldBindingsExperimentEnabledVoidMethod(); | 533 [PerWorldBindings, OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureNam
e1] void perWorldBindingsExperimentEnabledVoidMethod(); |
| 534 [APIExperimentEnabled=FeatureName, RuntimeEnabled=FeatureName1] void experim
entEnabledOverloadedVoidMethod(DOMString stringArg); | 534 [OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName1] void experimen
tEnabledOverloadedVoidMethod(DOMString stringArg); |
| 535 [APIExperimentEnabled=FeatureName, RuntimeEnabled=FeatureName1] void experim
entEnabledOverloadedVoidMethod(long longArg); | 535 [OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName1] void experimen
tEnabledOverloadedVoidMethod(long longArg); |
| 536 [APIExperimentEnabled=FeatureName1, RuntimeEnabled=FeatureName1] void partia
llyExperimentEnabledOverloadedVoidMethod(DOMString stringArg); | 536 [OriginTrialEnabled=FeatureName1, RuntimeEnabled=FeatureName1] void partiall
yExperimentEnabledOverloadedVoidMethod(DOMString stringArg); |
| 537 [APIExperimentEnabled=FeatureName2, RuntimeEnabled=FeatureName1] void partia
llyExperimentEnabledOverloadedVoidMethod(TestInterface testInterfaceArg); | 537 [OriginTrialEnabled=FeatureName2, RuntimeEnabled=FeatureName1] void partiall
yExperimentEnabledOverloadedVoidMethod(TestInterface testInterfaceArg); |
| 538 void partiallyExperimentEnabledOverloadedVoidMethod(long longArg, DOMString
stringArg); | 538 void partiallyExperimentEnabledOverloadedVoidMethod(long longArg, DOMString
stringArg); |
| 539 [APIExperimentEnabled=FeatureName3] void partiallyExperimentEnabledOverloade
dVoidMethod(long longArg, DOMString stringArg, TestInterface testInterfaceArg); | 539 [OriginTrialEnabled=FeatureName3] void partiallyExperimentEnabledOverloadedV
oidMethod(long longArg, DOMString stringArg, TestInterface testInterfaceArg); |
| 540 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); | 540 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); |
| 541 [MeasureAs=TestFeature] void measureAsVoidMethod(); | 541 [MeasureAs=TestFeature] void measureAsVoidMethod(); |
| 542 [Measure] void measureMethod(); | 542 [Measure] void measureMethod(); |
| 543 [Measure] void measureOverloadedMethod(); | 543 [Measure] void measureOverloadedMethod(); |
| 544 [Measure] void measureOverloadedMethod(long arg); | 544 [Measure] void measureOverloadedMethod(long arg); |
| 545 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); | 545 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); |
| 546 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); | 546 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); |
| 547 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(); | 547 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(); |
| 548 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(long arg
); | 548 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(long arg
); |
| 549 [MeasureAs=TestFeatureA] void measureAsOverloadedMethod(); | 549 [MeasureAs=TestFeatureA] void measureAsOverloadedMethod(); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 [ImplementedInPrivateScript] attribute DOMString stringAttribute; | 619 [ImplementedInPrivateScript] attribute DOMString stringAttribute; |
| 620 [ImplementedInPrivateScript] attribute Node nodeAttribute; | 620 [ImplementedInPrivateScript] attribute Node nodeAttribute; |
| 621 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl
y(short value1, short value2); | 621 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl
y(short value1, short value2); |
| 622 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo
rPrivateScriptOnly; | 622 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo
rPrivateScriptOnly; |
| 623 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv
ateScriptOnly(short value1, short value2); | 623 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv
ateScriptOnly(short value1, short value2); |
| 624 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
attributeForPrivateScriptOnly; | 624 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
attributeForPrivateScriptOnly; |
| 625 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; | 625 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; |
| 626 | 626 |
| 627 maplike<long, DOMStringOrDouble>; | 627 maplike<long, DOMStringOrDouble>; |
| 628 }; | 628 }; |
| OLD | NEW |