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

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

Issue 15076011: Support union return type for anonymous named/indexed getter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: updated Created 7 years, 7 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 2e3514af7dac29cce07958fd7e8b579aa7ae0832..3de365fb6606c4c67eb7ab75558961c57526927b 100644
--- a/Source/bindings/tests/idls/TestObject.idl
+++ b/Source/bindings/tests/idls/TestObject.idl
@@ -89,7 +89,7 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
void optionsObject(Dictionary oo, optional Dictionary ooo);
// Indexed/named properties
- [ImplementedAs=item] getter Node (unsigned long index);
+ [ImplementedAs=item] getter (NodeList or Node)(unsigned long index);
getter DOMString namedItem(DOMString name);
// Exceptions

Powered by Google App Engine
This is Rietveld 408576698