gecko/dom/webidl/HTMLAllCollection.webidl
Ms2ger 729320d026 Bug 874212 - Move document.all to WebIDL; r=bz
The static jsids in nsDOMClassInfo are newly unused, except for sEnumerate_id,
which was unused before.

This also removes the test_nondomexception.html test, which relied on an
obscure detail of the exception being thrown from document.all; I haven't
found another API which does something equally silly.
2014-05-20 21:52:21 +02:00

14 lines
571 B
Plaintext

/* 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. */
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);
};