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

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

Issue 26694003: Add support for [TreatNullAs] extended attribute for reflected attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move code to a subroutine 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/core/dom/Element.idl » ('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 09f00f32cd84c3714498c247ae935b973420b958..4c15510458cdd6c76c366d7031bb7a548e9c20a3 100644
--- a/Source/bindings/tests/idls/TestObject.idl
+++ b/Source/bindings/tests/idls/TestObject.idl
@@ -63,15 +63,15 @@ callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2);
attribute boolean create;
// Reflected DOM attributes
- [Reflect] attribute DOMString reflectedStringAttr;
+ [Reflect, TreatNullAs=NullString] attribute DOMString reflectedStringAttr;
[Reflect] attribute long reflectedIntegralAttr;
[Reflect] attribute unsigned long reflectedUnsignedIntegralAttr;
[Reflect] attribute boolean reflectedBooleanAttr;
- [Reflect, URL] attribute DOMString reflectedURLAttr;
- [Reflect=customContentStringAttr] attribute DOMString reflectedStringAttr;
+ [Reflect, TreatNullAs=NullString, URL] attribute DOMString reflectedURLAttr;
+ [Reflect=customContentStringAttr, TreatNullAs=NullString] attribute DOMString reflectedStringAttr;
[Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAttr;
[Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanAttr;
- [Reflect=customContentURLAttr, URL] attribute DOMString reflectedCustomURLAttr;
+ [Reflect=customContentURLAttr, TreatNullAs=NullString, URL] attribute DOMString reflectedCustomURLAttr;
// TypedArray attribute
attribute Float32Array typedArrayAttr;
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698