author Reuben Morais <>
Sun, 25 May 2014 15:31:11 -0300
changeset 192401 4136b65c1c4b1578631c18dfffff3cec2aa52b4e
parent 131472 9f7d1f298a2a30848385a004b2f9b06f67630e72
permissions -rw-r--r--
Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 */

 * This is a temporary, non-standard interface, to ease the transition to a
 * world where Attr no longer inherits from Node.
interface MozNamedAttrMap {
  getter Attr? getNamedItem(DOMString name);
  Attr? setNamedItem(Attr arg);
  Attr removeNamedItem(DOMString name);

  getter Attr? item(unsigned long index);
  readonly attribute unsigned long length;

  Attr? getNamedItemNS(DOMString? namespaceURI, DOMString localName);
  Attr? setNamedItemNS(Attr arg);
  Attr removeNamedItemNS(DOMString? namespaceURI, DOMString localName);