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

Unified Diff: core/html/HTMLCollection.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 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 | « core/html/HTMLCanvasElement.idl ('k') | core/html/HTMLContentElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/HTMLCollection.idl
diff --git a/core/html/HTMLCollection.idl b/core/html/HTMLCollection.idl
index cab83cd617795259afefce1767726d3deb9e7266..85c2d5acb74e618a2c899948fed011e55cac5c1a 100644
--- a/core/html/HTMLCollection.idl
+++ b/core/html/HTMLCollection.idl
@@ -19,14 +19,15 @@
* Boston, MA 02110-1301, USA.
*/
+// https://dom.spec.whatwg.org/#interface-htmlcollection
+
[
- Custom=Wrap,
DependentLifetime,
SetWrapperReferenceFrom=ownerNode,
WillBeGarbageCollected,
] interface HTMLCollection {
readonly attribute unsigned long length;
- getter Element item([Default=Undefined] optional unsigned long index);
- getter Element namedItem(DOMString name);
+ // FIXME: The index argument should not be optional.
+ getter Element? item([Default=Undefined] optional unsigned long index);
+ getter Element? namedItem(DOMString name);
};
-
« no previous file with comments | « core/html/HTMLCanvasElement.idl ('k') | core/html/HTMLContentElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698