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

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

Issue 28333003: IDL compiler: [Conditional] for setters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 static readonly attribute long staticReadonlyLongAttribute; 96 static readonly attribute long staticReadonlyLongAttribute;
97 // Miscellaneous special types 97 // Miscellaneous special types
98 readonly attribute EventHandler readonlyEventHandlerAttribute; 98 readonly attribute EventHandler readonlyEventHandlerAttribute;
99 attribute Promise promiseAttribute; 99 attribute Promise promiseAttribute;
100 100
101 // Extended attributes 101 // Extended attributes
102 [ActivityLogging=Access] readonly attribute long activityLogAccessReadonlyLo ngAttribute; 102 [ActivityLogging=Access] readonly attribute long activityLogAccessReadonlyLo ngAttribute;
103 [ActivityLogging=Getter] readonly attribute long activityLogGetterReadonlyLo ngAttribute; 103 [ActivityLogging=Getter] readonly attribute long activityLogGetterReadonlyLo ngAttribute;
104 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; 104 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute;
105 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te; 105 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te;
106 [CheckSecurityForNode] readonly attribute Document checkSecurityForNodeReado nlyDocumentAttribute; 106 [CheckSecurityForNode] readonly attribute Document checkSecurityForNodeReado nlyDocumentAttribute; // All uses are readonly
107 [Conditional=Condition] readonly attribute long conditionalReadonlyLongAttri bute; 107 [Conditional=Condition] attribute long conditionalLongAttribute;
108 [Conditional=Condition1&Condition2] readonly attribute long conditionalAndRe adonlyLongAttribute; 108 [Conditional=Condition1&Condition2] attribute long conditionalAndLongAttribu te;
109 [Conditional=Condition1|Condition2] readonly attribute long conditionalOrRea donlyLongAttribute; 109 [Conditional=Condition1|Condition2] attribute long conditionalOrLongAttribut e;
110 [Custom] readonly attribute long customReadonlyLongAttribute; 110 [Custom] readonly attribute long customReadonlyLongAttribute;
111 [CustomGetter] readonly attribute long customGetterReadonlyLongAttribute; 111 [CustomGetter] readonly attribute long customGetterReadonlyLongAttribute;
112 [Conditional=Condition, Custom] readonly attribute long customReadonlyLongAt tribute; 112 [Conditional=Condition, Custom] readonly attribute long customReadonlyLongAt tribute;
113 [Conditional=Condition, CustomGetter] readonly attribute long customGetterRe adonlyLongAttribute; 113 [Conditional=Condition, CustomGetter] readonly attribute long customGetterRe adonlyLongAttribute;
114 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead onlyLongAttribute; 114 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead onlyLongAttribute;
115 [DeprecateAs=ReadonlyLongAttribute] readonly attribute long deprecatedReadon lyLongAttribute; 115 [DeprecateAs=ReadonlyLongAttribute] readonly attribute long deprecatedReadon lyLongAttribute;
116 // FIXME: move to TestActiveDOMObject.idl (=> TestCheckSecurity) once 116 // FIXME: move to TestActiveDOMObject.idl (=> TestCheckSecurity) once
117 // methods are implemented 117 // methods are implemented
118 [DoNotCheckSecurity] readonly attribute long doNotCheckSecurityReadonlyLongA ttribute; 118 [DoNotCheckSecurity] readonly attribute long doNotCheckSecurityReadonlyLongA ttribute;
119 // [DoNotCheckSecurity] readonly attribute long doNotCheckSecurityReadonlyLo ngAttribute; // FIXME: separate readonly attribute once implement setters 119 // [DoNotCheckSecurity] readonly attribute long doNotCheckSecurityReadonlyLo ngAttribute; // FIXME: separate readonly attribute once implement setters
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 [SetterRaisesException] readonly attribute long setterRaisesExceptionReadonl yLongAttribute; // FIXME: stub test case b/c readonly, becomes real test case w hen implement setters 154 [SetterRaisesException] readonly attribute long setterRaisesExceptionReadonl yLongAttribute; // FIXME: stub test case b/c readonly, becomes real test case w hen implement setters
155 [StrictTypeChecking] readonly attribute float strictTypeCheckingReadonlyFloa tAttribute; // FIXME: only applicable to writable attributes, implement with se tters 155 [StrictTypeChecking] readonly attribute float strictTypeCheckingReadonlyFloa tAttribute; // FIXME: only applicable to writable attributes, implement with se tters
156 [StrictTypeChecking] readonly attribute TestInterface strictTypeCheckingRead onlyTestInterfaceAttribute; // FIXME: only applicable to writable attributes, i mplement with setters 156 [StrictTypeChecking] readonly attribute TestInterface strictTypeCheckingRead onlyTestInterfaceAttribute; // FIXME: only applicable to writable attributes, i mplement with setters
157 [TreatNullAs=NullString] readonly attribute DOMString treatNullAsNullStringR eadonlyStringAttribute; // FIXME: only applicable to writable attributes, imple ment with setters 157 [TreatNullAs=NullString] readonly attribute DOMString treatNullAsNullStringR eadonlyStringAttribute; // FIXME: only applicable to writable attributes, imple ment with setters
158 [TreatReturnedNullStringAs=Null] readonly attribute DOMString treatReturnedN ullStringAsNullReadonlyStringAttribute; 158 [TreatReturnedNullStringAs=Null] readonly attribute DOMString treatReturnedN ullStringAsNullReadonlyStringAttribute;
159 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString treatRetu rnedNullStringAsUndefinedReadonlyStringAttribute; 159 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString treatRetu rnedNullStringAsUndefinedReadonlyStringAttribute;
160 [Reflect, URL] readonly attribute DOMString urlReadonlyStringAttribute; 160 [Reflect, URL] readonly attribute DOMString urlReadonlyStringAttribute;
161 [Reflect=ReflectUrlAttribute, URL] readonly attribute DOMString urlReadonlyS tringAttribute; 161 [Reflect=ReflectUrlAttribute, URL] readonly attribute DOMString urlReadonlyS tringAttribute;
162 [Unforgeable] readonly attribute long unforgeableReadonlyLongAttribute; 162 [Unforgeable] readonly attribute long unforgeableReadonlyLongAttribute;
163 }; 163 };
OLDNEW
« no previous file with comments | « Source/bindings/templates/attributes.cpp ('k') | Source/bindings/tests/results/V8SupportTestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698