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

Unified Diff: Source/core/dom/NodeList.idl

Issue 955353004: Sync the NodeList interface with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NodeList.idl
diff --git a/Source/core/dom/NodeList.idl b/Source/core/dom/NodeList.idl
index 66cc82045c839b45ca408575ed2d494c3dfd7355..5e549ca9eda012fa93a8b10c969edb7997428163 100644
--- a/Source/core/dom/NodeList.idl
+++ b/Source/core/dom/NodeList.idl
@@ -18,11 +18,14 @@
* Boston, MA 02110-1301, USA.
*/
+// https://dom.spec.whatwg.org/#interface-nodelist
+
[
DependentLifetime,
SetWrapperReferenceFrom=virtualOwnerNode,
WillBeGarbageCollected,
] interface NodeList {
- getter Node item(unsigned long index);
+ getter Node? item(unsigned long index);
readonly attribute unsigned long length;
+ // FIXME: iterable<Node>;
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698