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

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

Issue 151173004: IDL compiler: [GarbageCollected] on other interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload Created 6 years, 10 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
Index: Source/bindings/tests/idls/TestObjectPython.idl
diff --git a/Source/bindings/tests/idls/TestObjectPython.idl b/Source/bindings/tests/idls/TestObjectPython.idl
index 509597bd467669573ffe11d7351a00973be6d8e7..e51daef373fe7d9ac067a05c61c93e78f33a2b1b 100644
--- a/Source/bindings/tests/idls/TestObjectPython.idl
+++ b/Source/bindings/tests/idls/TestObjectPython.idl
@@ -67,7 +67,7 @@ interface TestObjectPython {
// Basic types
attribute Date dateAttribute;
attribute DOMString stringAttribute;
- readonly attribute DOMTimeStamp readonlyDOMTimeStampAttribute; // FIXME: Perl CG doesn't translate typedef DOMTimeStamp -> unsigned long long; remove readonly once moved to Python-only
+ readonly attribute DOMTimeStamp readonlyDOMTimeStampAttribute; // FIXME: Perl CG doesn't translate typedef DOMTimeStamp -> unsigned long long; remove readonly once moved to Python-only
attribute boolean booleanAttribute;
attribute byte byteAttribute;
attribute double doubleAttribute;
@@ -139,7 +139,7 @@ interface TestObjectPython {
[ActivityLogging=SetterForAllWorlds] attribute long activityLoggingSetterForAllWorldsLongAttribute;
[CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute;
[CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribute;
- [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonlyDocumentAttribute; // All uses are read only
+ [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonlyDocumentAttribute; // All uses are read only
[Conditional=CONDITION] attribute long conditionalLongAttribute;
[Conditional=CONDITION_1&CONDITION_2] attribute long conditionalAndLongAttribute;
[Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttribute;
@@ -154,14 +154,13 @@ interface TestObjectPython {
[ExposeJSAccessors] attribute long exposeJSAccessorsLongAttribute;
[ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute;
[Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImplementedAsLongAttribute;
- attribute TestInterfacePython testInterfacePythonAttribute; // interface type that itself has [ImplementedAs] (not self; self-reference test at TestInterfacePython)
[Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute long customGetterImplementedAsLongAttribute;
[Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute long customSetterImplementedAsLongAttribute;
[MeasureAs=TestFeature] attribute long measureAsLongAttribute;
[NotEnumerable] attribute long notEnumerableLongAttribute;
[PerContextEnabled=FeatureName] attribute long perContextEnabledLongAttribute;
[PerWorldBindings] attribute long perWorldBindingsLongAttribute;
- [PerWorldBindings] readonly attribute long perWorldBindingsReadonlyLongAttribute; // Separate read only attribute to check attribute configuration
+ [PerWorldBindings] readonly attribute long perWorldBindingsReadonlyLongAttribute; // Separate read only attribute to check attribute configuration
[ActivityLogging=ForAllWorlds, PerWorldBindings] attribute long activityLoggingAccessPerWorldBindingsLongAttribute;
[ActivityLogging=ForIsolatedWorlds, PerWorldBindings] attribute long activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute;
[ActivityLogging=GetterForAllWorlds, PerWorldBindings] attribute long activityLoggingGetterPerWorldBindingsLongAttribute;
@@ -204,7 +203,7 @@ interface TestObjectPython {
[Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long conditionalRuntimeEnabledLongAttribute;
[SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWithActiveWindowAndFirstWindowStringAttribute;
[SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutionContextStringAttribute;
- [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // nop for non-interface types
+ [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // nop for non-interface types
[StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterfaceAttribute;
[TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttribute;
[TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullStringAsNullStringAttribute;
@@ -238,7 +237,7 @@ interface TestObjectPython {
void voidMethodDateArg(Date dateArg);
void voidMethodStringArg(DOMString stringArg);
- // void voidMethodDOMTimeStampArg(DOMTimeStamp domTimeStampArg); // FIXME: Perl CG doesn't translate typedef DOMTimeStamp -> unsigned long long; uncomment once moved to Python-only
+ // void voidMethodDOMTimeStampArg(DOMTimeStamp domTimeStampArg); // FIXME: Perl CG doesn't translate typedef DOMTimeStamp -> unsigned long long; uncomment once moved to Python-only
void voidMethodBooleanArg(boolean booleanArg);
void voidMethodByteArg(byte byteArg);
void voidMethodDoubleArg(double doubleArg);
@@ -431,4 +430,9 @@ interface TestObjectPython {
[TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStringMethod();
[TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUndefinedStringMethod();
[Unforgeable] void unforgeableVoidMethod();
+
+ // Extended attributes on referenced interfaces
+ // (not self; self-reference tests at interface themselves)
+ attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedAs]
+ attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedAttribute; // [GarbageCollected]
};

Powered by Google App Engine
This is Rietveld 408576698