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

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

Issue 127903002: Empty reflected attributes and string literals in extended attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: docstring formatting 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
Index: Source/bindings/tests/idls/TestObject.idl
diff --git a/Source/bindings/tests/idls/TestObject.idl b/Source/bindings/tests/idls/TestObject.idl
index 4523dddf650d0d59a4ea373abd119afb63c3b128..932b8cda4614092cc716e577599fe86fe30d742e 100644
--- a/Source/bindings/tests/idls/TestObject.idl
+++ b/Source/bindings/tests/idls/TestObject.idl
@@ -34,6 +34,7 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2);
+
[
Constructor(TestCallbackInterface testCallbackInterface),
ImplementedAs=TestObj
@@ -74,12 +75,14 @@ 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;
- [Reflect, ReflectOnly=rsa|dsa, ReflectMissing=rsa] attribute DOMString limitedWithMissingDefaultAttribute;
- [Reflect, ReflectOnly=ltr|rtl|auto, ReflectMissing=auto, ReflectInvalid=ltr] attribute DOMString limitedWithInvalidMissingDefaultAttribute;
- [Reflect, ReflectOnly=left|right, ReflectMissing=left, ReflectInvalid=left] attribute DOMString limitedWithInvalidAndMissingDefaultAttribute;
+ [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribute;
+ [Reflect, ReflectOnly="Per"|"Paal"|"Espen"] attribute DOMString limitedToOnlyAttribute;
+ [Reflect=Other, ReflectOnly="Value1"|"Value2" ] attribute DOMString limitedToOnlyOtherAttribute;
+ [Reflect, ReflectOnly="rsa" | "dsa", ReflectMissing="rsa"] attribute DOMString limitedWithMissingDefaultAttribute;
+ [Reflect, ReflectOnly="ltr" | "rtl" | "auto", ReflectMissing="auto", ReflectInvalid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute;
+ [Reflect, ReflectOnly="left" | "right", ReflectMissing="left", ReflectInvalid="left"] attribute DOMString limitedWithInvalidAndMissingDefaultAttribute;
+ [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute;
+ [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty="empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute DOMString limitedWithEmptyMissingInvalidAttribute;
// TypedArray attribute
attribute Float32Array typedArrayAttr;
« no previous file with comments | « Source/bindings/scripts/unstable/blink_idl_parser.py ('k') | Source/bindings/tests/idls/TestObjectPython.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698