Files
sousa-gecko/dom/webidl/NodeIterator.webidl
T
Edgar Chen de7f290554 Bug 2046720 - Part 2: Mark NodeIterator.detach() with [Deprecated] in WebIDL; r=webidl,emilio
So that this deprecated operations can be included in deprecation reports of Reporting API.

Differential Revision: https://phabricator.services.mozilla.com/D306955
2026-06-17 20:20:04 +00:00

33 lines
864 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/.
*
* The origin of this IDL file is
* http://www.w3.org/TR/2012/WD-dom-20120105/
*
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
* liability, trademark and document use rules apply.
*/
[Exposed=Window]
interface NodeIterator {
[Constant]
readonly attribute Node root;
[Pure]
readonly attribute Node? referenceNode;
[Pure]
readonly attribute boolean pointerBeforeReferenceNode;
[Constant]
readonly attribute unsigned long whatToShow;
[Constant]
readonly attribute NodeFilter? filter;
[Throws]
Node? nextNode();
[Throws]
Node? previousNode();
[Deprecated=NodeIteratorDetach]
undefined detach();
};