dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
author Boris Zbarsky <bzbarsky@mit.edu>
Sat, 20 Jan 2018 18:48:36 -0500
changeset 454453 3d7a4d867c9513c8380c5520696062ce9a241e30
parent 454452 f42ff3c796bfd00e72507e959d2c06265a2ca684
child 454454 c8a113c0c9c2c5ca0844cbac5b05fd94c719d2b4
permissions -rw-r--r--
Bug 1431964 part 5. Remove nsIDOMMozNamedAttrMap::Item. r=mccr8 MozReview-Commit-ID: GnrOUhx9nTQ

/* -*- 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 http://mozilla.org/MPL/2.0/. */

#include "domstubs.idl"

/**
 * This is a temporary, non-standard interface, to ease the transition to a
 * world where Attr no longer inherits from Node.
 */

[uuid(cb5564cd-26ec-418f-a6d6-1d57cd2c971c)]
interface nsIDOMMozNamedAttrMap : nsISupports
{
  nsIDOMAttr                setNamedItem(in nsIDOMAttr arg)
                                  raises(DOMException);
  nsIDOMAttr                removeNamedItem(in DOMString name)
                                  raises(DOMException);
  readonly attribute  unsigned long        length;
  // Introduced in DOM Level 2:
  nsIDOMAttr                setNamedItemNS(in nsIDOMAttr arg)
                                  raises(DOMException);
  // Introduced in DOM Level 2:
  nsIDOMAttr                removeNamedItemNS(in DOMString namespaceURI, 
                                              in DOMString localName)
                                  raises(DOMException);
};