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

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

Issue 98033003: Support missing and invalid defaults for reflected attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use same idiom for looking up value in array 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 6672d4a84c21bfe0b0930351f7e19652f0c444be..4523dddf650d0d59a4ea373abd119afb63c3b128 100644
--- a/Source/bindings/tests/idls/TestObject.idl
+++ b/Source/bindings/tests/idls/TestObject.idl
@@ -77,6 +77,9 @@ callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2);
[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;
// 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