dom/webidl/HTMLAllCollection.webidl
author Boris Zbarsky <bzbarsky@mit.edu>
Mon, 09 May 2016 22:25:40 -0400
changeset 323024 a3361d3f04b345eda3605b45f325c0987083dd06
parent 191369 e50261fb680076804d4fd5fb733d5a8179a983c5
permissions -rw-r--r--
Bug 1270349 part 2. Add [LegacyUnenumerableNamedProperties] to the interfaces that specify it in DOM and HTML. r=peterv

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* Emulates undefined through Codegen.py. */
[LegacyUnenumerableNamedProperties]
interface HTMLAllCollection {
  readonly attribute unsigned long length;
  getter Node? (unsigned long index);
  Node? item(unsigned long index);
  (Node or HTMLCollection)? item(DOMString name);
  legacycaller (Node or HTMLCollection)? (DOMString name);
  getter (Node or HTMLCollection)? namedItem(DOMString name);
};