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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary formstrArg, with or without 5 * Redistribution and use in source and binary formstrArg, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 [Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAt tr; 73 [Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAt tr;
74 [Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanA ttr; 74 [Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanA ttr;
75 [Reflect=customContentURLAttr, TreatNullAs=NullString, URL] attribute DOMStr ing reflectedCustomURLAttr; 75 [Reflect=customContentURLAttr, TreatNullAs=NullString, URL] attribute DOMStr ing reflectedCustomURLAttr;
76 [Reflect] attribute SVGAnimatedString animatedReflectedAttribute; 76 [Reflect] attribute SVGAnimatedString animatedReflectedAttribute;
77 [Reflect, ReflectOnly=unique] attribute DOMString limitedToOnlyOneAttribute; 77 [Reflect, ReflectOnly=unique] attribute DOMString limitedToOnlyOneAttribute;
78 [Reflect, ReflectOnly=Per|Paal|Espen] attribute DOMString limitedToOnlyAttri bute; 78 [Reflect, ReflectOnly=Per|Paal|Espen] attribute DOMString limitedToOnlyAttri bute;
79 [Reflect=Other, ReflectOnly=Value1|Value2] attribute DOMString limitedToOnly OtherAttribute; 79 [Reflect=Other, ReflectOnly=Value1|Value2] attribute DOMString limitedToOnly OtherAttribute;
80 [Reflect, ReflectOnly=rsa|dsa, ReflectMissing=rsa] attribute DOMString limit edWithMissingDefaultAttribute; 80 [Reflect, ReflectOnly=rsa|dsa, ReflectMissing=rsa] attribute DOMString limit edWithMissingDefaultAttribute;
81 [Reflect, ReflectOnly=ltr|rtl|auto, ReflectMissing=auto, ReflectInvalid=ltr] attribute DOMString limitedWithInvalidMissingDefaultAttribute; 81 [Reflect, ReflectOnly=ltr|rtl|auto, ReflectMissing=auto, ReflectInvalid=ltr] attribute DOMString limitedWithInvalidMissingDefaultAttribute;
82 [Reflect, ReflectOnly=left|right, ReflectMissing=left, ReflectInvalid=left] attribute DOMString limitedWithInvalidAndMissingDefaultAttribute; 82 [Reflect, ReflectOnly=left|right, ReflectMissing=left, ReflectInvalid=left] attribute DOMString limitedWithInvalidAndMissingDefaultAttribute;
83 [Reflect, ReflectOnly=anonymous|use-credentials, ReflectEmpty=anonymous, Ref lectInvalid=anonymous] readonly attribute DOMString corsSettingAttribute;
84 [Reflect, ReflectOnly=empty|missing|invalid|a-normal, ReflectEmpty=empty, Re flectMissing=missing, ReflectInvalid=invalid] readonly attribute DOMString limit edWithEmptyMissingInvalidAttribute;
83 85
84 // TypedArray attribute 86 // TypedArray attribute
85 attribute Float32Array typedArrayAttr; 87 attribute Float32Array typedArrayAttr;
86 88
87 // Methods 89 // Methods
88 void voidMethod(); 90 void voidMethod();
89 void voidMethodWithArgs(long longArg, DOMString strArg, TestObject objArg ); 91 void voidMethodWithArgs(long longArg, DOMString strArg, TestObject objArg );
90 long longMethod(); 92 long longMethod();
91 long longMethodWithArgs(long longArg, DOMString strArg, TestObject objArg ); 93 long longMethodWithArgs(long longArg, DOMString strArg, TestObject objArg );
92 [MeasureAs=TestFeature] TestObject objMethod(); 94 [MeasureAs=TestFeature] TestObject objMethod();
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; 312 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1;
311 313
312 // PutForwards 314 // PutForwards
313 [PutForwards=href] readonly attribute TestNode location; 315 [PutForwards=href] readonly attribute TestNode location;
314 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; 316 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException;
315 }; 317 };
316 318
317 // The following comment should not generate any code 319 // The following comment should not generate any code
318 // TestObject implements TestImplements; 320 // TestObject implements TestImplements;
319 321
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698