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

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

Issue 124763002: Support IDL attributes limited to only known values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Flatten generated code block Created 6 years, 11 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
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestObject.idl
diff --git a/Source/bindings/tests/idls/TestObject.idl b/Source/bindings/tests/idls/TestObject.idl
index ead532cfeed849baae48d9cd73e78c443b331e29..6672d4a84c21bfe0b0930351f7e19652f0c444be 100644
--- a/Source/bindings/tests/idls/TestObject.idl
+++ b/Source/bindings/tests/idls/TestObject.idl
@@ -74,6 +74,9 @@ callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2);
[Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanAttr;
[Reflect=customContentURLAttr, TreatNullAs=NullString, URL] attribute DOMString reflectedCustomURLAttr;
[Reflect] attribute SVGAnimatedString animatedReflectedAttribute;
+ [Reflect, ReflectOnly=unique] attribute DOMString limitedToOnlyOneAttribute;
+ [Reflect, ReflectOnly=Per|Paal|Espen] attribute DOMString limitedToOnlyAttribute;
+ [Reflect=Other, ReflectOnly=Value1|Value2] attribute DOMString limitedToOnlyOtherAttribute;
// TypedArray attribute
attribute Float32Array typedArrayAttr;
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698