Index: Source/core/html/HTMLAllCollection.idl |
diff --git a/Source/core/html/HTMLAllCollection.idl b/Source/core/html/HTMLAllCollection.idl |
index f7103af16fc429173c6b2bedcaa0af7e7c0e6fb5..5ca9c6b3c3b09357e9047816381e4d8ee24c8295 100644 |
--- a/Source/core/html/HTMLAllCollection.idl |
+++ b/Source/core/html/HTMLAllCollection.idl |
@@ -1,5 +1,6 @@ |
/* |
* Copyright (C) 2009 Apple Inc. All rights reserved. |
+ * Copyright (C) 2014 Samsung Electronics. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -23,6 +24,7 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// FIXME: This interface should inherit HTMLCollection. |
[ |
Custom=LegacyCallAsFunction, |
DependentLifetime, |
@@ -31,6 +33,6 @@ |
readonly attribute unsigned long length; |
[ImplementedAs=item] getter Element (unsigned long index); |
[Custom] Element item([Default=Undefined] optional unsigned long index); |
- [NotEnumerable] getter (NodeList or Element) (DOMString name); |
- [Custom] Element namedItem(DOMString name); |
+ // FIXME: This should return an (HTMLCollection or Element) union. |
+ [ImplementedAs=namedGetter] getter (NodeList or Element) namedItem(DOMString name); |
}; |