summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/html/HTMLAllCollection.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/HTMLAllCollection.idl')
-rw-r--r--chromium/third_party/WebKit/Source/core/html/HTMLAllCollection.idl16
1 files changed, 8 insertions, 8 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/HTMLAllCollection.idl b/chromium/third_party/WebKit/Source/core/html/HTMLAllCollection.idl
index 3508f8bc731..d56b8b6dbf5 100644
--- a/chromium/third_party/WebKit/Source/core/html/HTMLAllCollection.idl
+++ b/chromium/third_party/WebKit/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,17 +24,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// FIXME: This interface should inherit HTMLCollection.
[
Custom=LegacyCallAsFunction,
DependentLifetime,
- GenerateVisitDOMWrapper=ownerNode,
+ SetWrapperReferenceFrom=ownerNode,
+ WillBeGarbageCollected,
] interface HTMLAllCollection {
readonly attribute unsigned long length;
- [ImplementedAs=item] getter Node (unsigned long index);
- [Custom] Node item([Default=Undefined] optional unsigned long index);
- [ImplementedAs=anonymousNamedGetter, NotEnumerable] getter (NodeList or Node)(DOMString name);
- [Custom] Node namedItem(DOMString name);
- // FIXME: This should return an HTMLAllCollection.
- [MeasureAs=DocumentAllTags] NodeList tags(DOMString name);
+ [ImplementedAs=item] getter Element (unsigned long index);
+ [Custom] Element item([Default=Undefined] optional unsigned long index);
+ // FIXME: This should return an (HTMLCollection or Element) union.
+ [ImplementedAs=namedGetter] getter (NodeList or Element) namedItem(DOMString name);
};
-