Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey

--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
This commit is contained in:
Ms2ger 2013-03-10 09:00:33 +01:00
parent c4b524b61e
commit 2cf07efa15
128 changed files with 309 additions and 343 deletions

View File

@ -51,7 +51,7 @@
class nsIDOMEventListener;
class nsIFrame;
class nsIDOMNamedNodeMap;
class nsIDOMMozNamedAttrMap;
class nsIDOMCSSStyleDeclaration;
class nsIURI;
class nsINodeInfo;
@ -419,7 +419,7 @@ public:
return SetAttr(aNameSpaceID, aName, nullptr, aValue, aNotify);
}
NS_IMETHOD GetAttributes(nsIDOMNamedNodeMap** aAttributes);
NS_IMETHOD GetAttributes(nsIDOMMozNamedAttrMap** aAttributes);
/**
* Helper for SetAttr/SetParsedAttr. This method will return true if aNotify

View File

@ -31,7 +31,6 @@ class nsIControllers;
class nsICSSDeclaration;
class nsIDocument;
class nsDOMStringMap;
class nsIDOMNamedNodeMap;
class nsIHTMLCollection;
class nsINodeInfo;
class nsIURI;
@ -332,7 +331,7 @@ public:
nsRefPtr<mozilla::css::StyleRule> mSMILOverrideStyleRule;
/**
* An object implementing nsIDOMNamedNodeMap for this content (attributes)
* An object implementing nsIDOMMozNamedAttrMap for this content (attributes)
* @see FragmentOrElement::GetAttributes
*/
nsRefPtr<nsDOMAttributeMap> mAttributeMap;

View File

@ -34,6 +34,7 @@ class nsDOMAttributeMap;
class nsIContent;
class nsIDocument;
class nsIDOMElement;
class nsIDOMMozNamedAttrMap;
class nsIDOMNodeList;
class nsIDOMUserDataHandler;
class nsIEditor;
@ -1656,7 +1657,7 @@ protected:
nsresult GetOwnerDocument(nsIDOMDocument** aOwnerDocument);
nsresult CompareDocumentPosition(nsIDOMNode* aOther,
uint16_t* aReturn);
nsresult GetAttributes(nsIDOMNamedNodeMap** aAttributes);
nsresult GetAttributes(nsIDOMMozNamedAttrMap** aAttributes);
nsresult ReplaceOrInsertBefore(bool aReplace, nsIDOMNode *aNewChild,
nsIDOMNode *aRefChild, nsIDOMNode **aReturn);
@ -1958,7 +1959,7 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsINode, NS_INODE_IID)
{ \
return nsINode::GetNextSibling(aNextSibling); \
} \
NS_IMETHOD GetAttributes(nsIDOMNamedNodeMap** aAttributes) __VA_ARGS__ \
NS_IMETHOD GetAttributes(nsIDOMMozNamedAttrMap** aAttributes) __VA_ARGS__ \
{ \
return nsINode::GetAttributes(aAttributes); \
} \

View File

@ -8,8 +8,6 @@
*/
#include "mozilla/dom/DocumentType.h"
#include "nsDOMAttributeMap.h"
#include "nsIDOMNamedNodeMap.h"
#include "nsGkAtoms.h"
#include "nsCOMPtr.h"
#include "nsDOMString.h"

View File

@ -785,13 +785,13 @@ Element::SetAttributeNode(nsIDOMAttr* aNewAttr, ErrorResult& aError)
{
OwnerDoc()->WarnOnceAbout(nsIDocument::eSetAttributeNode);
nsCOMPtr<nsIDOMNode> returnNode;
aError = Attributes()->SetNamedItem(aNewAttr, getter_AddRefs(returnNode));
nsCOMPtr<nsIDOMAttr> returnAttr;
aError = Attributes()->SetNamedItem(aNewAttr, getter_AddRefs(returnAttr));
if (aError.Failed()) {
return nullptr;
}
return static_cast<nsIDOMAttr*>(returnNode.forget().get());
return returnAttr.forget();
}
already_AddRefed<nsIDOMAttr>
@ -807,13 +807,13 @@ Element::RemoveAttributeNode(nsIDOMAttr* aAttribute,
return nullptr;
}
nsCOMPtr<nsIDOMNode> node;
aError = Attributes()->RemoveNamedItem(name, getter_AddRefs(node));
nsCOMPtr<nsIDOMAttr> returnAttr;
aError = Attributes()->RemoveNamedItem(name, getter_AddRefs(returnAttr));
if (aError.Failed()) {
return nullptr;
}
return static_cast<nsIDOMAttr*>(node.forget().get());
return returnAttr.forget();
}
void
@ -1474,7 +1474,7 @@ Element::GetExistingAttrNameFromQName(const nsAString& aStr) const
}
NS_IMETHODIMP
Element::GetAttributes(nsIDOMNamedNodeMap** aAttributes)
Element::GetAttributes(nsIDOMMozNamedAttrMap** aAttributes)
{
NS_ADDREF(*aAttributes = Attributes());
return NS_OK;
@ -2008,7 +2008,7 @@ Element::UnsetAttr(int32_t aNameSpaceID, nsIAtom* aName,
attrNode = GetAttributeNodeNSInternal(ns, nsDependentAtomString(aName), rv);
}
// Clear binding to nsIDOMNamedNodeMap
// Clear binding to nsIDOMMozNamedAttrMap
nsDOMSlots *slots = GetExistingDOMSlots();
if (slots && slots->mAttributeMap) {
slots->mAttributeMap->DropAttribute(aNameSpaceID, aName);

View File

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* Implementation of the |attributes| property of DOM Core's nsIDOMNode object.
* Implementation of the |attributes| property of DOM Core's Element object.
*/
#include "nsDOMAttributeMap.h"
@ -76,16 +76,16 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsDOMAttributeMap)
tmp->mAttributeCache.Enumerate(TraverseMapEntry, &cb);
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
DOMCI_DATA(NamedNodeMap, nsDOMAttributeMap)
DOMCI_DATA(MozNamedAttrMap, nsDOMAttributeMap)
// QueryInterface implementation for nsDOMAttributeMap
NS_INTERFACE_TABLE_HEAD(nsDOMAttributeMap)
NS_OFFSET_AND_INTERFACE_TABLE_BEGIN(nsDOMAttributeMap)
NS_INTERFACE_TABLE_ENTRY(nsDOMAttributeMap, nsIDOMNamedNodeMap)
NS_INTERFACE_TABLE_ENTRY(nsDOMAttributeMap, nsIDOMMozNamedAttrMap)
NS_OFFSET_AND_INTERFACE_TABLE_END
NS_OFFSET_AND_INTERFACE_TABLE_TO_MAP_SEGUE
NS_INTERFACE_MAP_ENTRIES_CYCLE_COLLECTION(nsDOMAttributeMap)
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(NamedNodeMap)
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(MozNamedAttrMap)
NS_INTERFACE_MAP_END
NS_IMPL_CYCLE_COLLECTING_ADDREF(nsDOMAttributeMap)
@ -186,7 +186,7 @@ nsDOMAttributeMap::GetNamedItem(const nsAString& aAttrName)
NS_IMETHODIMP
nsDOMAttributeMap::GetNamedItem(const nsAString& aAttrName,
nsIDOMNode** aAttribute)
nsIDOMAttr** aAttribute)
{
NS_ENSURE_ARG_POINTER(aAttribute);
@ -196,31 +196,31 @@ nsDOMAttributeMap::GetNamedItem(const nsAString& aAttrName,
}
NS_IMETHODIMP
nsDOMAttributeMap::SetNamedItem(nsIDOMNode *aNode, nsIDOMNode **aReturn)
nsDOMAttributeMap::SetNamedItem(nsIDOMAttr* aAttr, nsIDOMAttr** aReturn)
{
ErrorResult rv;
*aReturn = SetNamedItemInternal(aNode, false, rv).get();
*aReturn = SetNamedItemInternal(aAttr, false, rv).get();
return rv.ErrorCode();
}
NS_IMETHODIMP
nsDOMAttributeMap::SetNamedItemNS(nsIDOMNode *aNode, nsIDOMNode **aReturn)
nsDOMAttributeMap::SetNamedItemNS(nsIDOMAttr* aAttr, nsIDOMAttr** aReturn)
{
ErrorResult rv;
*aReturn = SetNamedItemInternal(aNode, true, rv).get();
*aReturn = SetNamedItemInternal(aAttr, true, rv).get();
return rv.ErrorCode();
}
already_AddRefed<nsDOMAttribute>
nsDOMAttributeMap::SetNamedItemInternal(nsIDOMNode *aNode,
nsDOMAttributeMap::SetNamedItemInternal(nsIDOMAttr* aAttr,
bool aWithNS,
ErrorResult& aError)
{
if (mContent) {
// XXX should check same-origin between mContent and aNode however
// XXX should check same-origin between mContent and aAttr however
// nsContentUtils::CheckSameOrigin can't deal with attributenodes yet
nsCOMPtr<nsIAttribute> iAttribute(do_QueryInterface(aNode));
nsCOMPtr<nsIAttribute> iAttribute(do_QueryInterface(aAttr));
if (!iAttribute) {
aError.Throw(NS_ERROR_DOM_HIERARCHY_REQUEST_ERR);
return nullptr;
@ -252,13 +252,13 @@ nsDOMAttributeMap::SetNamedItemInternal(nsIDOMNode *aNode,
}
nsCOMPtr<nsIDOMNode> adoptedNode;
rv = domDoc->AdoptNode(aNode, getter_AddRefs(adoptedNode));
rv = domDoc->AdoptNode(aAttr, getter_AddRefs(adoptedNode));
if (NS_FAILED(rv)) {
aError.Throw(rv);
return nullptr;
}
NS_ASSERTION(adoptedNode == aNode, "Uh, adopt node changed nodes?");
NS_ASSERTION(adoptedNode == aAttr, "Uh, adopt node changed nodes?");
}
// Get nodeinfo and preexisting attribute (if it exists)
@ -324,7 +324,7 @@ nsDOMAttributeMap::SetNamedItemInternal(nsIDOMNode *aNode,
NS_IMETHODIMP
nsDOMAttributeMap::RemoveNamedItem(const nsAString& aName,
nsIDOMNode** aReturn)
nsIDOMAttr** aReturn)
{
NS_ENSURE_ARG_POINTER(aReturn);
*aReturn = nullptr;
@ -374,7 +374,7 @@ nsDOMAttributeMap::GetItemAt(uint32_t aIndex, nsresult *aResult)
}
NS_IMETHODIMP
nsDOMAttributeMap::Item(uint32_t aIndex, nsIDOMNode** aReturn)
nsDOMAttributeMap::Item(uint32_t aIndex, nsIDOMAttr** aReturn)
{
nsresult rv;
NS_IF_ADDREF(*aReturn = GetItemAt(aIndex, &rv));
@ -399,7 +399,7 @@ nsDOMAttributeMap::GetLength(uint32_t *aLength)
NS_IMETHODIMP
nsDOMAttributeMap::GetNamedItemNS(const nsAString& aNamespaceURI,
const nsAString& aLocalName,
nsIDOMNode** aReturn)
nsIDOMAttr** aReturn)
{
ErrorResult rv;
NS_IF_ADDREF(*aReturn = GetNamedItemNS(aNamespaceURI, aLocalName, rv));
@ -465,7 +465,7 @@ nsDOMAttributeMap::GetAttrNodeInfo(const nsAString& aNamespaceURI,
NS_IMETHODIMP
nsDOMAttributeMap::RemoveNamedItemNS(const nsAString& aNamespaceURI,
const nsAString& aLocalName,
nsIDOMNode** aReturn)
nsIDOMAttr** aReturn)
{
NS_ENSURE_ARG_POINTER(aReturn);
*aReturn = nullptr;

View File

@ -4,17 +4,17 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* Implementation of the |attributes| property of DOM Core's nsIDOMNode object.
* Implementation of the |attributes| property of DOM Core's Element object.
*/
#ifndef nsDOMAttributeMap_h___
#define nsDOMAttributeMap_h___
#ifndef nsDOMAttributeMap_h
#define nsDOMAttributeMap_h
#include "nsIDOMNamedNodeMap.h"
#include "nsIDOMMozNamedAttrMap.h"
#include "nsStringGlue.h"
#include "nsRefPtrHashtable.h"
#include "nsCycleCollectionParticipant.h"
#include "nsIDOMNode.h"
#include "nsIDOMAttr.h"
#include "mozilla/ErrorResult.h"
class nsIAtom;
@ -86,8 +86,8 @@ private:
nsAttrKey mKey;
};
// Helper class that implements the nsIDOMNamedNodeMap interface.
class nsDOMAttributeMap : public nsIDOMNamedNodeMap
// Helper class that implements the nsIDOMMozNamedAttrMap interface.
class nsDOMAttributeMap : public nsIDOMMozNamedAttrMap
{
public:
typedef mozilla::dom::Element Element;
@ -97,8 +97,8 @@ public:
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
// nsIDOMNamedNodeMap interface
NS_DECL_NSIDOMNAMEDNODEMAP
// nsIDOMMozNamedAttrMap interface
NS_DECL_NSIDOMMOZNAMEDATTRMAP
void DropReference();
@ -145,12 +145,12 @@ public:
{
#ifdef DEBUG
{
nsCOMPtr<nsIDOMNamedNodeMap> map_qi = do_QueryInterface(aSupports);
nsCOMPtr<nsIDOMMozNamedAttrMap> map_qi = do_QueryInterface(aSupports);
// If this assertion fires the QI implementation for the object in
// question doesn't use the nsIDOMNamedNodeMap pointer as the nsISupports
// question doesn't use the nsIDOMMozNamedAttrMap pointer as the nsISupports
// pointer. That must be fixed, or we'll crash...
NS_ASSERTION(map_qi == static_cast<nsIDOMNamedNodeMap*>(aSupports),
NS_ASSERTION(map_qi == static_cast<nsIDOMMozNamedAttrMap*>(aSupports),
"Uh, fix QI!");
}
#endif
@ -164,7 +164,7 @@ public:
const nsAString& aLocalName,
mozilla::ErrorResult& aError);
already_AddRefed<nsDOMAttribute> SetNamedItemNS(nsIDOMNode *aNode,
already_AddRefed<nsDOMAttribute> SetNamedItemNS(nsIDOMAttr *aNode,
mozilla::ErrorResult& aError)
{
return SetNamedItemInternal(aNode, true, aError);
@ -185,7 +185,7 @@ private:
* true) implementation.
*/
already_AddRefed<nsDOMAttribute>
SetNamedItemInternal(nsIDOMNode *aNode,
SetNamedItemInternal(nsIDOMAttr *aNode,
bool aWithNS,
mozilla::ErrorResult& aError);
@ -203,4 +203,4 @@ private:
};
#endif /* nsDOMAttributeMap_h___ */
#endif /* nsDOMAttributeMap_h */

View File

@ -2412,7 +2412,7 @@ nsINode::GetAttributes()
}
nsresult
nsINode::GetAttributes(nsIDOMNamedNodeMap** aAttributes)
nsINode::GetAttributes(nsIDOMMozNamedAttrMap** aAttributes)
{
nsRefPtr<nsDOMAttributeMap> map = GetAttributes();
map.forget(aAttributes);

View File

@ -40,9 +40,6 @@
#include "nsGkAtoms.h"
#include "nsIDOMAttr.h"
#include "nsIDOMNamedNodeMap.h"
#include "nsXBLPrototypeHandler.h"
#include "nsXBLPrototypeBinding.h"

View File

@ -105,7 +105,7 @@
#include "nsError.h"
#include "nsIDOMDOMException.h"
#include "nsIDOMNode.h"
#include "nsIDOMNamedNodeMap.h"
#include "nsIDOMMozNamedAttrMap.h"
#include "nsIDOMDOMStringList.h"
// HTMLFormElement helper includes
@ -642,7 +642,7 @@ static nsDOMClassInfoData sClassInfoData[] = {
ELEMENT_SCRIPTABLE_FLAGS)
NS_DEFINE_CLASSINFO_DATA(Attr, nsAttributeSH,
NODE_SCRIPTABLE_FLAGS)
NS_DEFINE_CLASSINFO_DATA(NamedNodeMap, nsNamedNodeMapSH,
NS_DEFINE_CLASSINFO_DATA(MozNamedAttrMap, nsNamedNodeMapSH,
ARRAY_SCRIPTABLE_FLAGS)
// Misc Core related classes
@ -1952,8 +1952,8 @@ nsDOMClassInfo::Init()
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget)
DOM_CLASSINFO_MAP_END
DOM_CLASSINFO_MAP_BEGIN(NamedNodeMap, nsIDOMNamedNodeMap)
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNamedNodeMap)
DOM_CLASSINFO_MAP_BEGIN(MozNamedAttrMap, nsIDOMMozNamedAttrMap)
DOM_CLASSINFO_MAP_ENTRY(nsIDOMMozNamedAttrMap)
DOM_CLASSINFO_MAP_END
DOM_CLASSINFO_MAP_BEGIN(Event, nsIDOMEvent)

View File

@ -20,7 +20,7 @@ DOMCI_CLASS(XMLDocument)
DOMCI_CLASS(DOMException)
DOMCI_CLASS(Element)
DOMCI_CLASS(Attr)
DOMCI_CLASS(NamedNodeMap)
DOMCI_CLASS(MozNamedAttrMap)
// Event classes
DOMCI_CLASS(Event)

View File

@ -1218,7 +1218,7 @@ addExternalIface('MozRDFCompositeDataSource', nativeType='nsIRDFCompositeDataSou
notflattened=True)
addExternalIface('MozRDFResource', nativeType='nsIRDFResource', notflattened=True)
addExternalIface('MozXULTemplateBuilder', nativeType='nsIXULTemplateBuilder')
addExternalIface('NamedNodeMap')
addExternalIface('MozNamedAttrMap')
addExternalIface('nsIStreamListener', nativeType='nsIStreamListener', notflattened=True)
addExternalIface('nsISupports', nativeType='nsISupports')
addExternalIface('nsIEditor', nativeType='nsIEditor', notflattened=True)

View File

@ -1,6 +1,5 @@
{
"Historical DOM features must be removed: CDATASection": true,
"Historical DOM features must be removed: NamedNodeMap": true,
"Historical DOM features must be removed: UserDataHandler": true,
"Historical DOM features must be removed: createCDATASection": true,
"Historical DOM features must be removed: createAttribute": true,

View File

@ -22,7 +22,6 @@ interface nsIDOMDocument;
interface nsIDOMDocumentFragment;
interface nsIDOMDocumentType;
interface nsIDOMElement;
interface nsIDOMNamedNodeMap;
interface nsIDOMNode;
interface nsIDOMNodeList;
interface nsIDOMProcessingInstruction;

View File

@ -24,7 +24,7 @@ SDK_XPIDLSRCS = \
nsIDOMDocumentFragment.idl \
nsIDOMDocumentType.idl \
nsIDOMElement.idl \
nsIDOMNamedNodeMap.idl \
nsIDOMMozNamedAttrMap.idl \
nsIDOMNode.idl \
nsIDOMNodeList.idl \
nsIDOMProcessingInstruction.idl \

View File

@ -14,7 +14,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(03da4bc9-1b9a-41dc-a1a4-32414d48d704)]
[scriptable, builtinclass, uuid(d8db04e0-cbee-4063-9c16-8b0693146519)]
interface nsIDOMAttr : nsIDOMNode
{
readonly attribute DOMString name;

View File

@ -15,7 +15,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(92cfb4d4-7456-44fa-9c76-c70fdee78e2f)]
[scriptable, uuid(6e2f1af8-cc86-4ed5-948a-007bb40c65da)]
interface nsIDOMCDATASection : nsIDOMText
{
};

View File

@ -13,7 +13,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(cb75c251-afc7-444f-b2d6-b9635555f3ed)]
[scriptable, uuid(f891fa15-2652-4a88-9be5-364b9192b209)]
interface nsIDOMCharacterData : nsIDOMNode
{
attribute DOMString data;

View File

@ -14,7 +14,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(cea49a35-dac9-4c4d-9830-4660abb3b6bc)]
[scriptable, uuid(02f2c4cc-47c6-4e5e-9934-da93373b9e47)]
interface nsIDOMComment : nsIDOMCharacterData
{
};

View File

@ -27,7 +27,7 @@ interface nsIDOMLocation;
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(9b93f82b-9691-4021-8f45-1bf505db77ba)]
[scriptable, uuid(23fdb479-2543-4885-9d7a-47dd646966a5)]
interface nsIDOMDocument : nsIDOMNode
{
readonly attribute nsIDOMDocumentType doctype;

View File

@ -14,7 +14,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(4a15eb0c-d5bc-4902-9d50-21b12cab47e7)]
[scriptable, uuid(b098fc8f-9ef4-4de8-bbd0-4a0fc712dd6e)]
interface nsIDOMDocumentFragment : nsIDOMNode
{
};

View File

@ -15,7 +15,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(ac5fd4c5-6c5d-4dfc-878c-7d661aa676de)]
[scriptable, uuid(2ce127d8-5aaf-440e-b572-bfb7ba81062b)]
interface nsIDOMDocumentType : nsIDOMNode
{
readonly attribute DOMString name;

View File

@ -13,7 +13,7 @@
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-element
*/
[scriptable, uuid(8f972a47-1f20-4906-b59d-19310349a2c2)]
[scriptable, uuid(9387fd9b-46e9-4a1e-997f-713c0123c7f8)]
interface nsIDOMElement : nsIDOMNode
{
readonly attribute DOMString tagName;

View File

@ -6,31 +6,28 @@
#include "domstubs.idl"
/**
* Objects implementing the nsIDOMNamedNodeMap interface are used to
* represent collections of nodes that can be accessed by name.
*
* For more information on this interface please see
* http://www.w3.org/TR/DOM-Level-2-Core/
* This is a temporary, non-standard interface, to ease the transition to a
* world where Attr no longer inherits from Node.
*/
[scriptable, uuid(a6cf907b-15b3-11d2-932e-00805f8add32)]
interface nsIDOMNamedNodeMap : nsISupports
[scriptable, uuid(cb5564cd-26ec-418f-a6d6-1d57cd2c971c)]
interface nsIDOMMozNamedAttrMap : nsISupports
{
nsIDOMNode getNamedItem(in DOMString name);
nsIDOMNode setNamedItem(in nsIDOMNode arg)
nsIDOMAttr getNamedItem(in DOMString name);
nsIDOMAttr setNamedItem(in nsIDOMAttr arg)
raises(DOMException);
nsIDOMNode removeNamedItem(in DOMString name)
nsIDOMAttr removeNamedItem(in DOMString name)
raises(DOMException);
nsIDOMNode item(in unsigned long index);
nsIDOMAttr item(in unsigned long index);
readonly attribute unsigned long length;
// Introduced in DOM Level 2:
nsIDOMNode getNamedItemNS(in DOMString namespaceURI,
nsIDOMAttr getNamedItemNS(in DOMString namespaceURI,
in DOMString localName);
// Introduced in DOM Level 2:
nsIDOMNode setNamedItemNS(in nsIDOMNode arg)
nsIDOMAttr setNamedItemNS(in nsIDOMAttr arg)
raises(DOMException);
// Introduced in DOM Level 2:
nsIDOMNode removeNamedItemNS(in DOMString namespaceURI,
nsIDOMAttr removeNamedItemNS(in DOMString namespaceURI,
in DOMString localName)
raises(DOMException);
};

View File

@ -6,6 +6,7 @@
#include "domstubs.idl"
interface nsIVariant;
interface nsIDOMMozNamedAttrMap;
interface nsIDOMUserDataHandler;
/**
@ -17,7 +18,7 @@ interface nsIDOMUserDataHandler;
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(5e9bcec9-5928-4f77-8a9c-424ef01c20e1)]
[scriptable, uuid(d34c0ab9-21e7-42eb-bb58-9db8ccb66268)]
interface nsIDOMNode : nsISupports
{
const unsigned short ELEMENT_NODE = 1;
@ -45,7 +46,7 @@ interface nsIDOMNode : nsISupports
readonly attribute nsIDOMNode lastChild;
readonly attribute nsIDOMNode previousSibling;
readonly attribute nsIDOMNode nextSibling;
readonly attribute nsIDOMNamedNodeMap attributes;
readonly attribute nsIDOMMozNamedAttrMap attributes;
// Modified in DOM Level 2:
readonly attribute nsIDOMDocument ownerDocument;
nsIDOMNode insertBefore(in nsIDOMNode newChild,

View File

@ -15,7 +15,7 @@
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(d754433f-4637-4a5f-9034-0388173ea254)]
[scriptable, uuid(bc6d94d8-cf2c-4a37-aae7-491fc9a62608)]
interface nsIDOMProcessingInstruction : nsIDOMCharacterData
{
readonly attribute DOMString target;

View File

@ -13,7 +13,7 @@
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(437ed60c-febd-4bd0-892f-cf358adc3c96)]
[scriptable, uuid(d3c734f2-47e9-4eac-84f9-3592022aac13)]
interface nsIDOMText : nsIDOMCharacterData
{
nsIDOMText splitText(in unsigned long offset)

View File

@ -5,7 +5,7 @@
#include "nsIDOMDocument.idl"
[scriptable, uuid(18C55EFC-560B-4BDD-9776-A8D239EF7052)]
[scriptable, uuid(7f7abfbb-263f-4a4a-9944-397f0b64bad8)]
interface nsIDOMXMLDocument : nsIDOMDocument
{
// DOM Level 3 Load & Save, DocumentLS

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(1339c36e-23ad-4047-a04c-1702e27c7c83)]
[scriptable, uuid(5651dd01-40f3-43af-9901-759472830133)]
interface nsIDOMHTMLAnchorElement : nsIDOMHTMLElement
{
attribute DOMString href;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(F3D34247-A6E9-416A-AE37-761E26A3881E)]
[scriptable, uuid(387a4315-cb8c-4235-a1ec-636a3613ba0d)]
interface nsIDOMHTMLAppletElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(69c5ce45-108a-442e-91c5-8c874e384ed7)]
[scriptable, uuid(968c0f2e-bb68-4420-8350-b4e8f4476ea4)]
interface nsIDOMHTMLAreaElement : nsIDOMHTMLElement
{
attribute DOMString alt;

View File

@ -20,7 +20,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(e960385a-25e6-4695-a5e6-95908f88c5ec)]
[scriptable, uuid(4f9b3309-a287-4049-962a-f1a4bf05735b)]
interface nsIDOMHTMLAudioElement : nsIDOMHTMLMediaElement
{
// Setup the audio stream for writing

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(11D1C93A-9538-4BE3-8E90-372E25AB9D61)]
[scriptable, uuid(d9385fd2-b334-4aa4-a91c-94fba60a35e9)]
interface nsIDOMHTMLBRElement : nsIDOMHTMLElement
{
attribute DOMString clear;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(CC18F6D7-560F-485E-BC37-23354B2384F4)]
[scriptable, uuid(e770dc6d-86bb-480a-93c6-7ca30b285843)]
interface nsIDOMHTMLBaseElement : nsIDOMHTMLElement
{
attribute DOMString href;

View File

@ -20,7 +20,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(D8F00C8B-D317-4DF2-A9BF-4A1E6F19F945)]
[scriptable, uuid(688267fb-1c86-472e-84de-4aa9a8e72600)]
interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement
{
attribute DOMString aLink;

View File

@ -18,7 +18,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(8E40D4D7-C204-4192-802A-0B5602E9C669)]
[scriptable, uuid(f8473007-a162-416f-b684-ca715ad0f1ed)]
interface nsIDOMHTMLButtonElement : nsIDOMHTMLElement
{
attribute boolean autofocus;

View File

@ -46,7 +46,7 @@ interface nsIFileCallback : nsISupports {
void receive(in nsIDOMBlob file);
};
[scriptable, uuid(a7062fca-41c6-4520-b777-3bb30fd77273)]
[scriptable, uuid(41bf4dfb-5563-4987-976d-d809083191e3)]
interface nsIDOMHTMLCanvasElement : nsIDOMHTMLElement
{
attribute unsigned long width;

View File

@ -15,7 +15,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(A6963C8F-6475-4631-B7E0-41DD7DC8F388)]
[scriptable, uuid(a25c3a86-3bc0-4b18-a355-7d0a55cf6fb0)]
interface nsIDOMHTMLCommandElement : nsIDOMHTMLElement
{
attribute DOMString type;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(957E223E-217A-4BBF-B6D8-D723ACFB9168)]
[scriptable, uuid(ff6e9c16-3404-4c0b-9d7e-4e3b0bb54637)]
interface nsIDOMHTMLDListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -17,7 +17,7 @@
interface nsIDOMHTMLCollection;
[scriptable, uuid(EEB039A1-FD4E-41A3-805A-B367BA235DC2)]
[scriptable, uuid(b6da7948-b636-4469-b7ca-29f4f86a5051)]
interface nsIDOMHTMLDataListElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLCollection options;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(2C83A5C4-67AB-4DC5-A133-CFDAF260963C)]
[scriptable, uuid(713df6e7-d46f-4b46-9175-6866d78b6fe5)]
interface nsIDOMHTMLDirectoryElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(A9651DAE-DBD8-4CBE-B42B-A20124C2FE6D)]
[scriptable, uuid(ce1579e2-27ff-4a88-b1c9-d85b48970cdd)]
interface nsIDOMHTMLDivElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -13,7 +13,7 @@
*/
interface nsISelection;
[scriptable, uuid(3f8666a9-76f0-4733-ae11-4aea8753062d)]
[scriptable, uuid(4aece326-3974-47fe-b60e-ae2decc90e3b)]
interface nsIDOMHTMLDocument : nsIDOMDocument
{
attribute DOMString domain;

View File

@ -19,7 +19,7 @@ interface nsIDOMHTMLMenuElement;
* with changes from the work-in-progress WHATWG HTML specification:
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(9a677a5b-e6f7-4e2e-9ef9-22c2ac9967b3)]
[scriptable, uuid(bad97163-d25a-4dd8-9ca6-86af23df58b5)]
interface nsIDOMHTMLElement : nsIDOMElement
{
// metadata attributes

View File

@ -13,7 +13,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element
*/
[scriptable, uuid(BF234467-1F2E-4A6A-A5AA-74EC86299150)]
[scriptable, uuid(ee0496f5-fbbe-40f6-b9fd-eafb39fa0c81)]
interface nsIDOMHTMLEmbedElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -18,7 +18,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(AB2F9E30-1217-4172-9A95-262480FEC534)]
[scriptable, uuid(b8da6d2b-e60f-4f05-b8ac-53fbec2a4a99)]
interface nsIDOMHTMLFieldSetElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(EFF9CEAC-BE69-4A94-9DD4-0C023DEF00B3)]
[scriptable, uuid(5962cc25-edac-4370-9653-a6aea30f1202)]
interface nsIDOMHTMLFontElement : nsIDOMHTMLElement
{
attribute DOMString color;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(59C0DC07-D784-410B-8B5E-C26BAF7CB8A6)]
[scriptable, uuid(aefc1e79-e2e6-4702-9baf-b9545be412f1)]
interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
{
attribute DOMString acceptCharset;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(2AA7855A-0667-47C3-AF1E-9101002816C1)]
[scriptable, uuid(ff778643-8b2d-4f60-9243-cd8ddc9622f4)]
interface nsIDOMHTMLFrameElement : nsIDOMHTMLElement
{
attribute DOMString frameBorder;

View File

@ -20,7 +20,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(B4D06FF4-877A-4FA3-9EFB-A75D2C843520)]
[scriptable, uuid(6373db9d-ba4f-401a-9d27-8f3242e74304)]
interface nsIDOMHTMLFrameSetElement : nsIDOMHTMLElement
{
attribute DOMString cols;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(739078CD-3251-44C9-B5F9-128C0AF23707)]
[scriptable, uuid(5170450c-9ab4-4d35-85b0-1d526fa6b9c3)]
interface nsIDOMHTMLHRElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(8B38545F-7FA5-47D5-A902-C8EA8E78FB0D)]
[scriptable, uuid(f7f01f83-9a52-42df-8fae-bad29bca738f)]
interface nsIDOMHTMLHeadElement : nsIDOMHTMLElement
{
};

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(B302D445-7B7B-4B6D-9C6D-AEC30CE4F2E0)]
[scriptable, uuid(5ef1d877-8c66-482b-adda-422413d70172)]
interface nsIDOMHTMLHeadingElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(73706343-BA89-4C80-932E-E636E5E8D8E2)]
[scriptable, uuid(e312ae2d-0a59-4f0e-b078-62c733cfb128)]
interface nsIDOMHTMLHtmlElement : nsIDOMHTMLElement
{
attribute DOMString version;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(39298082-9657-48be-b119-4dc9c84ce685)]
[scriptable, uuid(621a850e-f02d-43df-ad23-bce1a5e5df82)]
interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(76cf0381-19fd-442d-bb18-c794fd8b5c25)]
[scriptable, uuid(c609e2a7-558b-47a3-b6cd-b5b5e1269d34)]
interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
{
attribute DOMString alt;

View File

@ -20,7 +20,7 @@ interface nsIDOMValidityState;
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(83984fd0-b0b2-11e1-afa6-0800200c9a66)]
[scriptable, uuid(8bc13946-1e4f-4fb2-a723-c768e0ee22ee)]
interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
{
attribute DOMString accept;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(C233D9D0-F0ED-4322-B3DB-C075711B816C)]
[scriptable, uuid(b16df68d-6ac0-4f8e-a261-e92b66336b4d)]
interface nsIDOMHTMLLIElement : nsIDOMHTMLElement
{
attribute DOMString type;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(479F4997-6551-4F8F-AEE5-5FF6F176B0ED)]
[scriptable, uuid(87d29556-4ef9-4776-88aa-0172ca502620)]
interface nsIDOMHTMLLabelElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(457A1606-1FDA-4C2B-869E-050C58D9C32E)]
[scriptable, uuid(5d032e27-0f83-434f-ad36-7879b61664a5)]
interface nsIDOMHTMLLegendElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(5b639ece-7b49-4507-9d38-550beb71955b)]
[scriptable, uuid(3c798909-b3a6-4cc3-a659-8752979d4034)]
interface nsIDOMHTMLLinkElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(34CD4620-62BA-4264-8D29-E5007F2641A6)]
[scriptable, uuid(fbe59a8a-bd0e-45b7-b1e0-fe5aba223eb3)]
interface nsIDOMHTMLMapElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLCollection areas;

View File

@ -27,7 +27,7 @@ interface nsIDOMMediaStream;
#endif
%}
[scriptable, uuid(e1a30308-9e84-4c8d-bc81-06fb03385406)]
[scriptable, uuid(076770ab-988c-49a2-b3f0-90542f4a8c32)]
interface nsIDOMHTMLMediaElement : nsIDOMHTMLElement
{
// error state

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(8A3975C9-729A-45A5-AB20-DD2B47EE9508)]
[scriptable, uuid(b51d30c7-b483-4821-96d9-bac26466afe3)]
interface nsIDOMHTMLMenuElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -12,7 +12,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(685E02FF-8148-4414-A0D6-319E817F3B56)]
[scriptable, uuid(faf61262-140e-4171-a809-bae8e767bb82)]
interface nsIDOMHTMLMenuItemElement : nsIDOMHTMLCommandElement
{
};

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(AA3B1280-669C-43ED-8815-B60B395A8D66)]
[scriptable, uuid(bee8b4e4-2fb8-4e05-86ff-b4bb57e4e997)]
interface nsIDOMHTMLMetaElement : nsIDOMHTMLElement
{
attribute DOMString content;

View File

@ -13,7 +13,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-meter-element
*/
[scriptable, uuid(d4466510-8143-11e0-b278-0800200c9a66)]
[scriptable, uuid(dadff222-3298-4083-804a-f7a8c33c97a8)]
interface nsIDOMHTMLMeterElement : nsIDOMHTMLElement
{
attribute double value;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(4564C9EF-795B-4080-AE48-C4527855390C)]
[scriptable, uuid(6a3ceacd-e1a5-466d-8dea-7746dbf4efa3)]
interface nsIDOMHTMLModElement : nsIDOMHTMLElement
{
attribute DOMString cite;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(8A2BA7C5-B3F2-4A57-86F9-0E87C291A591)]
[scriptable, uuid(ad55969a-47c7-4ef6-bf1d-9c058a0cfcd6)]
interface nsIDOMHTMLOListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -18,7 +18,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(A70595DD-68A5-41F5-AB52-73A47D98BD78)]
[scriptable, uuid(bf05cb92-234e-4626-bf48-89a9033fe6cc)]
interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(BEDB0D8D-030E-409A-B3B5-28DC0E0D9C34)]
[scriptable, uuid(ffd64130-e942-4407-b7fd-e12e261c2f4a)]
interface nsIDOMHTMLOptGroupElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(68A5D794-39BF-4B00-AEFE-754B9E8F7EC6)]
[scriptable, uuid(ab79abf1-78c2-40dc-88a9-ea8dea025055)]
interface nsIDOMHTMLOptionElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -17,7 +17,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(01542000-CD00-4E8A-841C-9BAAD6BA0368)]
[scriptable, uuid(433f8f1d-437e-443a-a0ae-80b1a2f8021a)]
interface nsIDOMHTMLOutputElement : nsIDOMHTMLElement
{
// DOMSettableTokenList

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(32840748-F8A8-414C-B0DE-DD947E5B0BD0)]
[scriptable, uuid(2fa5df08-f0dc-4946-b257-4081a5a534c6)]
interface nsIDOMHTMLParagraphElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(1FBEC0F8-C7CF-4DC8-84BE-247985A65E07)]
[scriptable, uuid(4763cd82-7aeb-4e9a-9867-9751860d65f0)]
interface nsIDOMHTMLParamElement : nsIDOMHTMLElement
{
attribute DOMString name;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(FDAF779F-BCCA-4653-91AE-CD4D23E4CC69)]
[scriptable, uuid(820daae5-9859-4d02-95cb-be3714eded04)]
interface nsIDOMHTMLPreElement : nsIDOMHTMLElement
{
attribute long width;

View File

@ -15,7 +15,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(275851c9-c3e2-4427-a770-3d2aaad6c546)]
[scriptable, uuid(63428690-29b2-4c8f-8d76-61cbb532fbbd)]
interface nsIDOMHTMLProgressElement : nsIDOMHTMLElement
{
attribute double value;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(38409533-9A85-4542-B734-BB2012966480)]
[scriptable, uuid(ae6ced8c-2a95-4faa-9b64-39be3c065d80)]
interface nsIDOMHTMLQuoteElement : nsIDOMHTMLElement
{
attribute DOMString cite;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(E2F548F6-9955-4820-A9E6-3A9FD43C7111)]
[scriptable, uuid(e4f546c8-f382-49ff-9199-b98555ac3160)]
interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
{
attribute DOMString src;

View File

@ -19,7 +19,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(e85194cf-56e6-44a6-92d9-0096c9d2536e)]
[scriptable, uuid(03aed73d-98f2-4790-a3ef-3df92ba7d200)]
interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
{
attribute boolean autofocus;

View File

@ -16,7 +16,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(af4b7ca2-2694-4672-a182-8a63be79c826)]
[scriptable, uuid(27e300bd-34cc-4ae2-830e-65e6f64b94c4)]
interface nsIDOMHTMLSourceElement : nsIDOMHTMLElement
{
attribute DOMString src;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(f9db1001-faae-46e1-b85f-0a0afb80c5b2)]
[scriptable, uuid(8c39826a-1e1e-43c1-aadc-52cbb98b869d)]
interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, builtinclass, uuid(526C4DC4-25CD-46DE-A9B2-1501D624F7DF)]
[scriptable, builtinclass, uuid(cf39761e-2940-4414-b251-52cf58a3549d)]
interface nsIDOMHTMLTableCaptionElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(8434C7E8-5E4E-4AB5-9192-3F1C00815920)]
[scriptable, uuid(a7528219-8330-41b9-be84-035d93a9a838)]
interface nsIDOMHTMLTableCellElement : nsIDOMHTMLElement
{
readonly attribute long cellIndex;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(8F98865C-1600-4282-A553-838D87CC9F1F)]
[scriptable, uuid(03218327-7835-4f2a-8005-2f2a44a53de6)]
interface nsIDOMHTMLTableColElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(AE50DE74-BC26-402E-85DC-A980F506B655)]
[scriptable, uuid(00c45041-0071-438d-a38f-5cd050fc7209)]
interface nsIDOMHTMLTableElement : nsIDOMHTMLElement
{
// Modified in DOM Level 2:

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(0AC4A382-4F97-4143-A3B3-DE0A54978C67)]
[scriptable, uuid(3e1dfeb2-f3d5-4f53-aba9-eccd66708434)]
interface nsIDOMHTMLTableRowElement : nsIDOMHTMLElement
{
// Modified in DOM Level 2:

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, builtinclass, uuid(006D2482-0B89-401B-9A16-EDE4D9971F02)]
[scriptable, builtinclass, uuid(ad993b34-9cb6-4505-91ab-7596b525b57d)]
interface nsIDOMHTMLTableSectionElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -19,7 +19,7 @@ interface nsIDOMValidityState;
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(2A395065-2D92-48C1-AC00-643DE9CA681B)]
[scriptable, uuid(20f6166a-7808-4a66-ab3e-67689850fd06)]
interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
{
attribute boolean autofocus;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(DB0440CC-FB98-4FB0-84E8-6ADD4764A48F)]
[scriptable, uuid(3e68b80a-7e85-42b5-bf36-682e3540ae1c)]
interface nsIDOMHTMLTitleElement : nsIDOMHTMLElement
{
attribute DOMString text;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(7DFD92D6-4DC3-4C52-8384-BA35E0AE4B8B)]
[scriptable, uuid(a5770ec3-b27a-4c54-acb1-ddbe1564878b)]
interface nsIDOMHTMLUListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -11,7 +11,7 @@
*
* @see <http://www.whatwg.org/html/#htmlunknownelement>
*/
[scriptable, uuid(74ACC5C9-A18D-4AEC-AEFC-A719EF69499C)]
[scriptable, uuid(788cd4a4-31dc-4fc4-b43e-3e36fb86a2b1)]
interface nsIDOMHTMLUnknownElement : nsIDOMHTMLElement
{
};

View File

@ -16,7 +16,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(4fb3129d-0c3e-4a5c-bf75-c3973f7463c3)]
[scriptable, uuid(7124a1a6-229b-4bac-9245-b59c12678544)]
interface nsIDOMHTMLVideoElement : nsIDOMHTMLMediaElement
{
attribute long width;

View File

@ -7,7 +7,7 @@
interface nsIDOMSVGElement;
[scriptable, uuid(8fe506e4-5563-4b16-9228-182071e3f8f8)]
[scriptable, uuid(743de308-c894-42e9-8cf3-55c10894a4a1)]
interface nsIDOMSVGDocument : nsIDOMDocument
{
readonly attribute DOMString domain;

View File

@ -10,7 +10,7 @@ interface nsIDOMCSSStyleDeclaration;
interface nsIDOMCSSValue;
[scriptable, uuid(7ccf8faf-29b4-4113-bb23-bc187bac27cf)]
[scriptable, uuid(d0d6d9a6-85f7-44ff-b0a1-608eddbb4216)]
interface nsIDOMSVGElement : nsIDOMElement
{
attribute DOMString id;

View File

@ -11,7 +11,7 @@ interface nsIDOMSVGAnimatedNumber;
interface nsIDOMSVGAnimatedEnumeration;
interface nsIDOMSVGAnimatedInteger;
[scriptable, uuid(117CFA4C-B0EB-4C0F-A590-F77FBF42E76D)]
[scriptable, uuid(69fdc425-6033-4e64-b042-6f90f2b4cbb2)]
interface nsIDOMSVGFilterPrimitiveStandardAttributes : nsIDOMSVGElement
{
readonly attribute nsIDOMSVGAnimatedLength x;
@ -21,7 +21,7 @@ interface nsIDOMSVGFilterPrimitiveStandardAttributes : nsIDOMSVGElement
readonly attribute nsIDOMSVGAnimatedString result;
};
[scriptable, uuid(BB966D00-CF60-4696-9954-43525401E209)]
[scriptable, uuid(a2e8e14a-51a8-40c1-add5-dcf5dbfdfe16)]
interface nsIDOMSVGFEColorMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Color Matrix Types
@ -37,13 +37,13 @@ interface nsIDOMSVGFEColorMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttrib
readonly attribute nsISupports values;
};
[scriptable, uuid(539000B3-2272-4F1A-BF24-23340DD408AF)]
[scriptable, uuid(338e96e3-ad22-4d79-a9a8-51602862f3ac)]
interface nsIDOMSVGFEComponentTransferElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
};
[scriptable, uuid(75FAB13E-9D34-4653-B992-BF7DF78BA379)]
[scriptable, uuid(87e1d0d5-6ee4-4287-a268-cb87e75ed092)]
interface nsIDOMSVGComponentTransferFunctionElement : nsIDOMSVGElement
{
// Component Transfer Types
@ -64,7 +64,7 @@ interface nsIDOMSVGComponentTransferFunctionElement : nsIDOMSVGElement
readonly attribute nsIDOMSVGAnimatedNumber offset;
};
[scriptable, uuid(32887E8E-A5DE-4FBB-84F2-842743FEE02B)]
[scriptable, uuid(e4a5f4af-4a37-416f-b072-f8ea8a4ceedb)]
interface nsIDOMSVGFECompositeElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Operator Types
@ -88,27 +88,27 @@ interface nsIDOMSVGFECompositeElement : nsIDOMSVGFilterPrimitiveStandardAttribut
};
[scriptable, uuid(B0FDBC88-ACE2-4EA1-A37B-A3D49A49C014)]
[scriptable, uuid(4398f6a6-580f-432e-a61d-f7982911e459)]
interface nsIDOMSVGFEFuncRElement : nsIDOMSVGComponentTransferFunctionElement
{
};
[scriptable, uuid(7F03F95A-5C78-4872-9CF6-856F66C76F8B)]
[scriptable, uuid(0d0fb545-a21c-4d99-b9b2-3ba15fe3ddec)]
interface nsIDOMSVGFEFuncGElement : nsIDOMSVGComponentTransferFunctionElement
{
};
[scriptable, uuid(1AE3374C-1F60-4DD0-BC08-3B16FF9A63B0)]
[scriptable, uuid(06e77981-867f-48d4-8bf7-e768684999af)]
interface nsIDOMSVGFEFuncBElement : nsIDOMSVGComponentTransferFunctionElement
{
};
[scriptable, uuid(EF68B840-E84F-45B6-89A6-B716D6A0BFEC)]
[scriptable, uuid(464b0bdf-de53-460a-a33e-a966454aa757)]
interface nsIDOMSVGFEFuncAElement : nsIDOMSVGComponentTransferFunctionElement
{
};
[scriptable, uuid(32741F93-2AC4-4173-96AE-B1E65634C1EF)]
[scriptable, uuid(4f218457-08f8-43a3-a5ba-ed4a5490d1a5)]
interface nsIDOMSVGFEGaussianBlurElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
@ -118,20 +118,20 @@ interface nsIDOMSVGFEGaussianBlurElement : nsIDOMSVGFilterPrimitiveStandardAttri
void setStdDeviation ( in float stdDeviationX, in float stdDeviationY );
};
[scriptable, uuid(0BAE928A-92FE-4C5F-A8CB-DAED171FA6A2)]
[scriptable, uuid(aebe14bf-c98d-4d29-afc5-a1f27813d78d)]
interface nsIDOMSVGFEOffsetElement : nsIDOMSVGFilterPrimitiveStandardAttributes {
readonly attribute nsIDOMSVGAnimatedString in1;
readonly attribute nsIDOMSVGAnimatedNumber dx;
readonly attribute nsIDOMSVGAnimatedNumber dy;
};
[scriptable, uuid(C587EFE9-0A22-44E6-9964-B68DA564804A)]
[scriptable, uuid(5c7c7ad9-1829-43c4-87b3-1e64c4f51f7a)]
interface nsIDOMSVGFETileElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
};
[scriptable, uuid(15BB448A-B589-4769-AA92-7C680A919F76)]
[scriptable, uuid(d60f68fc-179f-430d-ab0d-ff868db7d548)]
interface nsIDOMSVGFETurbulenceElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Turbulence Types
@ -151,7 +151,7 @@ interface nsIDOMSVGFETurbulenceElement : nsIDOMSVGFilterPrimitiveStandardAttribu
readonly attribute nsIDOMSVGAnimatedEnumeration type;
};
[scriptable, uuid(645DEF2E-C176-47CC-A2C4-C9CC49D0AFC8)]
[scriptable, uuid(4a68a914-caa3-4c52-9d6c-46264f338244)]
interface nsIDOMSVGFEMorphologyElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Operator Types
@ -167,7 +167,7 @@ interface nsIDOMSVGFEMorphologyElement : nsIDOMSVGFilterPrimitiveStandardAttribu
void setRadius ( in float rx, in float ry );
};
[scriptable, uuid(42A1FB88-DCD7-4211-9DD7-431460708D12)]
[scriptable, uuid(d3f7688a-a813-4f40-9419-b8a4d99449bb)]
interface nsIDOMSVGFEConvolveMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Edge Mode Values
@ -191,7 +191,7 @@ interface nsIDOMSVGFEConvolveMatrixElement : nsIDOMSVGFilterPrimitiveStandardAtt
readonly attribute nsISupports preserveAlpha;
};
[scriptable, uuid(43662657-4DA9-4B64-8891-033B08DBD11B)]
[scriptable, uuid(9fed3a1f-b3b0-4056-9d79-45bbea7008af)]
interface nsIDOMSVGFEDiffuseLightingElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
@ -201,7 +201,7 @@ interface nsIDOMSVGFEDiffuseLightingElement : nsIDOMSVGFilterPrimitiveStandardA
readonly attribute nsIDOMSVGAnimatedNumber kernelUnitLengthY;
};
[scriptable, uuid(473A96B5-E644-4BAC-93B8-8C923F6568F7)]
[scriptable, uuid(387c810f-8711-4763-867c-7da1e12e34a0)]
interface nsIDOMSVGFESpecularLightingElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
@ -212,20 +212,20 @@ interface nsIDOMSVGFESpecularLightingElement : nsIDOMSVGFilterPrimitiveStandardA
readonly attribute nsIDOMSVGAnimatedNumber kernelUnitLengthY;
};
[scriptable, uuid(3C166FDD-A486-4089-9247-DEAC33001BD3)]
[scriptable, uuid(3265edba-d5b0-4c24-ad89-d6b6c85655bf)]
interface nsIDOMSVGFEDistantLightElement : nsIDOMSVGElement {
readonly attribute nsIDOMSVGAnimatedNumber azimuth;
readonly attribute nsIDOMSVGAnimatedNumber elevation;
};
[scriptable, uuid(88C14474-3B95-454C-A62E-7FBE05DBD4A9)]
[scriptable, uuid(0fd668af-52de-463f-ac07-22a8a44c3b3a)]
interface nsIDOMSVGFEPointLightElement : nsIDOMSVGElement {
readonly attribute nsIDOMSVGAnimatedNumber x;
readonly attribute nsIDOMSVGAnimatedNumber y;
readonly attribute nsIDOMSVGAnimatedNumber z;
};
[scriptable, uuid(CDF0A4CD-99A0-4B8D-9E17-9EA7513A34B9)]
[scriptable, uuid(e9bd8308-dc52-438b-a315-a0d545dfeda3)]
interface nsIDOMSVGFESpotLightElement : nsIDOMSVGElement {
readonly attribute nsIDOMSVGAnimatedNumber x;
readonly attribute nsIDOMSVGAnimatedNumber y;
@ -237,7 +237,7 @@ interface nsIDOMSVGFESpotLightElement : nsIDOMSVGElement {
readonly attribute nsIDOMSVGAnimatedNumber limitingConeAngle;
};
[scriptable, uuid(9B82CB0B-004D-4F26-BF3C-4E2BD4E1E82C)]
[scriptable, uuid(a68509dc-d3aa-4c9c-989e-36cf07c1294a)]
interface nsIDOMSVGFEDisplacementMapElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Channel Selectors

View File

@ -9,7 +9,7 @@
#include "nsIDOMNode.idl"
[scriptable, uuid(47836446-3c3d-440f-99f6-984d8a2f2e04)]
[scriptable, uuid(04b34387-ea27-4a39-9ebc-de2aec9cec01)]
interface nsIDOMXPathNamespace : nsIDOMNode
{
// XPathNodeType

View File

@ -5,7 +5,7 @@
#include "nsIDOMXULLabeledControlEl.idl"
[scriptable, uuid(A0308BD1-A6D7-4352-86F9-2BD4AEE2EAFC)]
[scriptable, uuid(f632980b-9f73-4510-8d22-2dca4b4b1152)]
interface nsIDOMXULButtonElement : nsIDOMXULLabeledControlElement {
const short CHECKSTATE_UNCHECKED = 0;
const short CHECKSTATE_CHECKED = 1;

View File

@ -6,7 +6,7 @@
#include "nsIDOMElement.idl"
#include "nsIDOMXULLabeledControlEl.idl"
[scriptable, uuid(A275393E-8402-46E1-8229-F1CE5B2E926C)]
[scriptable, uuid(3ed88db7-8da4-4b76-be4c-cdba4167552f)]
interface nsIDOMXULCheckboxElement : nsIDOMXULLabeledControlElement {
const short CHECKSTATE_UNCHECKED = 0;
const short CHECKSTATE_CHECKED = 1;

View File

@ -6,7 +6,7 @@
#include "nsIDOMXULElement.idl"
interface nsIDOMXULContainerElement;
[scriptable, uuid(6B94FBAB-5171-432C-8E7A-6183C535E344)]
[scriptable, uuid(1711387a-a43c-4d41-887a-0fb7fe5de421)]
interface nsIDOMXULContainerItemElement : nsIDOMXULElement
{
/**
@ -15,7 +15,7 @@ interface nsIDOMXULContainerItemElement : nsIDOMXULElement
readonly attribute nsIDOMXULContainerElement parentContainer;
};
[scriptable, uuid(40211F96-98A5-4DE5-BE0C-8CBF4CA4D615)]
[scriptable, uuid(1d8ba880-a4b3-4a01-b541-4628ca16ef63)]
interface nsIDOMXULContainerElement : nsIDOMXULContainerItemElement
{
/**

Some files were not shown because too many files have changed in this diff Show More