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

Side by Side Diff: Source/bindings/tests/idls/TestObjectPython.idl

Issue 26547005: IDL compiler: [PerContextEnabled] for getters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 [DoNotCheckSecurityOnGetter] readonly attribute long doNotCheckSecurityOnGet terReadonlyLongAttribute; 108 [DoNotCheckSecurityOnGetter] readonly attribute long doNotCheckSecurityOnGet terReadonlyLongAttribute;
109 [DoNotCheckSecurityOnSetter] readonly attribute long doNotCheckSecurityOnSet terReadonlyLongAttribute; 109 [DoNotCheckSecurityOnSetter] readonly attribute long doNotCheckSecurityOnSet terReadonlyLongAttribute;
110 [EnforceRange] readonly attribute long enforceRangeReadonlyLongAttribute; / / FIXME: properly MUST NOT appear on read only attribute; will correct when impl ement setters 110 [EnforceRange] readonly attribute long enforceRangeReadonlyLongAttribute; / / FIXME: properly MUST NOT appear on read only attribute; will correct when impl ement setters
111 [GetterRaisesException] readonly attribute long getterRaisesExceptionReadonl yLongAttribute; 111 [GetterRaisesException] readonly attribute long getterRaisesExceptionReadonl yLongAttribute;
112 [ImplementedAs=implementedAsName] readonly attribute long implementedAsReado nlyLongAttribute; 112 [ImplementedAs=implementedAsName] readonly attribute long implementedAsReado nlyLongAttribute;
113 [Custom, ImplementedAs=implementedAsNameWithCustom] readonly attribute long customImplementedAsReadonlyLongAttribute; 113 [Custom, ImplementedAs=implementedAsNameWithCustom] readonly attribute long customImplementedAsReadonlyLongAttribute;
114 [CustomGetter, ImplementedAs=implementedAsNameWithCustomGetter] readonly att ribute long customGetterImplementedAsReadonlyLongAttribute; 114 [CustomGetter, ImplementedAs=implementedAsNameWithCustomGetter] readonly att ribute long customGetterImplementedAsReadonlyLongAttribute;
115 [KeepAttributeAliveForGC] readonly attribute DocumentFragment readonlyDocume ntFragmentAttribute; 115 [KeepAttributeAliveForGC] readonly attribute DocumentFragment readonlyDocume ntFragmentAttribute;
116 [MeasureAs=TestFeature] readonly attribute long measureAsReadonlyLongAttribu te; 116 [MeasureAs=TestFeature] readonly attribute long measureAsReadonlyLongAttribu te;
117 [NotEnumerable] readonly attribute long notEnumerableReadonlyLongAttribute; 117 [NotEnumerable] readonly attribute long notEnumerableReadonlyLongAttribute;
118 [PerContextEnabled=FeatureName] readonly attribute long perContextEnabledRea donlyLongAttribute;
118 [RaisesException] readonly attribute long raisesExceptionReadonlyLongAttribu te; 119 [RaisesException] readonly attribute long raisesExceptionReadonlyLongAttribu te;
119 [Reflect] readonly attribute TestInterface reflectReadonlyTestInterfaceAttri bute; 120 [Reflect] readonly attribute TestInterface reflectReadonlyTestInterfaceAttri bute;
120 [Reflect=reflectedNameAttribute] readonly attribute TestInterface reflectRef lectedNameAttributeReadonlyTestAttribute; 121 [Reflect=reflectedNameAttribute] readonly attribute TestInterface reflectRef lectedNameAttributeReadonlyTestAttribute;
121 // [Reflect] special types: special getters or range checking for unsigned 122 // [Reflect] special types: special getters or range checking for unsigned
122 [Reflect] readonly attribute boolean reflectReadonlyBooleanAttribute; 123 [Reflect] readonly attribute boolean reflectReadonlyBooleanAttribute;
123 [Reflect] readonly attribute long reflectReadonlyLongAttribute; 124 [Reflect] readonly attribute long reflectReadonlyLongAttribute;
124 [Reflect] readonly attribute unsigned short reflectReadonlyUnsignedShortAttr ibute; 125 [Reflect] readonly attribute unsigned short reflectReadonlyUnsignedShortAttr ibute;
125 [Reflect] readonly attribute unsigned long reflectReadonlyUnsignedLongAttrib ute; 126 [Reflect] readonly attribute unsigned long reflectReadonlyUnsignedLongAttrib ute;
126 // [Reflect] special names 127 // [Reflect] special names
127 [Reflect] readonly attribute DOMString id; 128 [Reflect] readonly attribute DOMString id;
128 [Reflect] readonly attribute DOMString name; 129 [Reflect] readonly attribute DOMString name;
129 [Reflect] readonly attribute DOMString class; 130 [Reflect] readonly attribute DOMString class;
130 [Reflect=id] readonly attribute DOMString reflectedId; 131 [Reflect=id] readonly attribute DOMString reflectedId;
131 [Reflect=name] readonly attribute DOMString reflectedName; 132 [Reflect=name] readonly attribute DOMString reflectedName;
132 [Reflect=class] readonly attribute DOMString reflectedClass; 133 [Reflect=class] readonly attribute DOMString reflectedClass;
133 [RuntimeEnabled=FeatureName] readonly attribute long runtimeEnabledReadonlyL ongAttribute; 134 [RuntimeEnabled=FeatureName] readonly attribute long runtimeEnabledReadonlyL ongAttribute;
134 [Conditional=Condition, RuntimeEnabled=FeatureName] readonly attribute long conditionalEnabledAtRuntimeReadonlyLongAttribute; 135 [Conditional=Condition, RuntimeEnabled=FeatureName] readonly attribute long conditionalEnabledAtRuntimeReadonlyLongAttribute;
135 [SetterCallWith=ActiveWindow&FirstWindow] readonly attribute DOMString sette rCallWithActiveWindowAndFirstWindowReadonlyStringAttribute; // FIXME: stub test case b/c readonly, becomes real test case when implement setters 136 [SetterCallWith=ActiveWindow&FirstWindow] readonly attribute DOMString sette rCallWithActiveWindowAndFirstWindowReadonlyStringAttribute; // FIXME: stub test case b/c readonly, becomes real test case when implement setters
136 [SetterRaisesException] readonly attribute long setterRaisesExceptionReadonl yLongAttribute; // FIXME: stub test case b/c readonly, becomes real test case w hen implement setters 137 [SetterRaisesException] readonly attribute long setterRaisesExceptionReadonl yLongAttribute; // FIXME: stub test case b/c readonly, becomes real test case w hen implement setters
137 [StrictTypeChecking] readonly attribute float strictTypeCheckingReadonlyFloa tAttribute; // FIXME: only applicable to writable attributes, implement with se tters 138 [StrictTypeChecking] readonly attribute float strictTypeCheckingReadonlyFloa tAttribute; // FIXME: only applicable to writable attributes, implement with se tters
138 [StrictTypeChecking] readonly attribute TestInterface strictTypeCheckingRead onlyTestInterfaceAttribute; // FIXME: only applicable to writable attributes, i mplement with setters 139 [StrictTypeChecking] readonly attribute TestInterface strictTypeCheckingRead onlyTestInterfaceAttribute; // FIXME: only applicable to writable attributes, i mplement with setters
139 [TreatNullAs=NullString] readonly attribute DOMString treatNullAsNullStringR eadonlyStringAttribute; // FIXME: only applicable to writable attributes, imple ment with setters 140 [TreatNullAs=NullString] readonly attribute DOMString treatNullAsNullStringR eadonlyStringAttribute; // FIXME: only applicable to writable attributes, imple ment with setters
140 [TreatReturnedNullStringAs=Null] readonly attribute DOMString treatReturnedN ullStringAsNullReadonlyStringAttribute; 141 [TreatReturnedNullStringAs=Null] readonly attribute DOMString treatReturnedN ullStringAsNullReadonlyStringAttribute;
141 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString treatRetu rnedNullStringAsUndefinedReadonlyStringAttribute; 142 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString treatRetu rnedNullStringAsUndefinedReadonlyStringAttribute;
142 [Reflect, URL] readonly attribute DOMString urlReadonlyStringAttribute; 143 [Reflect, URL] readonly attribute DOMString urlReadonlyStringAttribute;
143 [Reflect=ReflectUrlAttribute, URL] readonly attribute DOMString urlReadonlyS tringAttribute; 144 [Reflect=ReflectUrlAttribute, URL] readonly attribute DOMString urlReadonlyS tringAttribute;
144 }; 145 };
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestInterface.idl ('k') | Source/bindings/tests/results/V8Float64Array.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698