Bug 849661 - Remove support for Node.hasAttributes(); r=bz

This commit is contained in:
Aryeh Gregor 2013-03-21 14:48:32 +02:00
parent 9ee90091fd
commit 973691f4a3
110 changed files with 109 additions and 869 deletions

View File

@ -1207,11 +1207,6 @@ inline const mozilla::dom::Element* nsINode::AsElement() const
return static_cast<const mozilla::dom::Element*>(this);
}
inline bool nsINode::HasAttributes() const
{
return IsElement() && AsElement()->GetAttrCount() > 0;
}
/**
* Macros to implement Clone(). _elementName is the class for which to implement
* Clone.

View File

@ -1572,8 +1572,6 @@ public:
{
aLocalName = mNodeInfo->LocalName();
}
// HasAttributes is defined inline in Element.h.
bool HasAttributes() const;
nsDOMAttributeMap* GetAttributes();
JS::Value SetUserData(JSContext* aCx, const nsAString& aKey, JS::Value aData,
nsIDOMUserDataHandler* aHandler,
@ -2011,12 +2009,6 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsINode, NS_INODE_IID)
nsINode::GetLocalName(aLocalName); \
return NS_OK; \
} \
using nsINode::HasAttributes; \
NS_IMETHOD HasAttributes(bool* aResult) __VA_ARGS__ \
{ \
*aResult = nsINode::HasAttributes(); \
return NS_OK; \
} \
NS_IMETHOD GetDOMBaseURI(nsAString& aBaseURI) __VA_ARGS__ \
{ \
nsINode::GetBaseURI(aBaseURI); \

View File

@ -10,7 +10,6 @@
"Historical DOM features must be removed: setAttributeNode": true,
"Historical DOM features must be removed: removeAttributeNode": true,
"DocumentType member must be nuked: internalSubset": true,
"Node member must be nuked: hasAttributes": true,
"Node member must be nuked: getUserData": true,
"Node member must be nuked: setUserData": true
}

View File

@ -14,7 +14,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, builtinclass, uuid(a974a4d3-2ff1-445b-8b8e-0aada5d4eedc)]
[scriptable, builtinclass, uuid(05568261-182f-4911-8b1e-8c8d7ffe79f9)]
interface nsIDOMAttr : nsIDOMNode
{
readonly attribute DOMString name;

View File

@ -15,7 +15,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(cfad94e0-92d6-4b32-ab18-c61f9b8cb313)]
[scriptable, uuid(3f73b88e-d158-416d-990f-740baabf262e)]
interface nsIDOMCDATASection : nsIDOMText
{
};

View File

@ -13,7 +13,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(05c29ae6-5533-42b6-9085-257f60445d5a)]
[scriptable, uuid(e934716a-f7ee-46a4-9b6c-d084163d6b48)]
interface nsIDOMCharacterData : nsIDOMNode
{
attribute DOMString data;

View File

@ -14,7 +14,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(cf5493dc-ba25-423a-81e7-b417494f103a)]
[scriptable, uuid(3bc4c503-bce5-44c5-9554-aba72502a468)]
interface nsIDOMComment : nsIDOMCharacterData
{
};

View File

@ -27,7 +27,7 @@ interface nsIDOMLocation;
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(75996de6-6b0f-43e5-ae79-c98fa669da9a)]
[scriptable, uuid(49592e41-a3a6-406c-a3d4-b5cf491f4e73)]
interface nsIDOMDocument : nsIDOMNode
{
readonly attribute nsIDOMDocumentType doctype;

View File

@ -14,7 +14,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, builtinclass, uuid(33127aed-9d6a-4b0d-95aa-0529f51bcb9c)]
[scriptable, builtinclass, uuid(e9ba0a30-1fb4-4823-870c-650afbbc9b87)]
interface nsIDOMDocumentFragment : nsIDOMNode
{
};

View File

@ -15,7 +15,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(7568365e-240f-4818-b2fc-0680bfb50942)]
[scriptable, uuid(4caa34a7-27f6-42d3-9d7f-f631334d849d)]
interface nsIDOMDocumentType : nsIDOMNode
{
readonly attribute DOMString name;

View File

@ -15,7 +15,7 @@ interface nsIDOMMozNamedAttrMap;
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-element
*/
[scriptable, uuid(ccc2bbbc-5b44-4b01-b718-dd51f339fef8)]
[scriptable, uuid(adea0ac9-f399-4537-bed5-58ba5d608a1b)]
interface nsIDOMElement : nsIDOMNode
{
readonly attribute DOMString tagName;

View File

@ -17,7 +17,7 @@ interface nsIDOMUserDataHandler;
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(56545150-a001-484e-9ed4-cb319eebd7b3)]
[scriptable, uuid(e0fda4a1-b4fd-404f-85b0-3167b79ae87f)]
interface nsIDOMNode : nsISupports
{
const unsigned short ELEMENT_NODE = 1;
@ -69,8 +69,6 @@ interface nsIDOMNode : nsISupports
// Introduced in DOM Level 2:
readonly attribute DOMString localName;
// Introduced in DOM Level 2:
boolean hasAttributes();
// Introduced in DOM Level 3:
// This uses a binaryname to avoid warnings due to name collision with

View File

@ -15,7 +15,7 @@
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(9ee8b1c3-2b0d-49e2-b2d6-f6bb8bf21b9e)]
[scriptable, uuid(62af8276-947f-4ad1-a303-f076a3b05ca8)]
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(3de88cc9-1462-4bb8-a2fc-845b132547ac)]
[scriptable, uuid(50a838c2-f421-4496-a63e-0d58dbc480d9)]
interface nsIDOMText : nsIDOMCharacterData
{
nsIDOMText splitText(in unsigned long offset)

View File

@ -5,7 +5,7 @@
#include "nsIDOMDocument.idl"
[scriptable, uuid(79547ba5-291e-4775-b71e-2440a4621b54)]
[scriptable, uuid(94ed1513-b191-4375-b898-bde6e7352f54)]
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(c75e7bb1-cc7a-4169-9467-9513a95e3b94)]
[scriptable, uuid(15399819-7bf8-4378-b49d-af77740f1365)]
interface nsIDOMHTMLAnchorElement : nsIDOMHTMLElement
{
attribute DOMString href;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(351dd451-0077-4298-b569-a41529baca32)]
[scriptable, uuid(fffb81fc-a950-4814-bec1-9fba3c88bccf)]
interface nsIDOMHTMLAppletElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(6ab5b382-c19d-4a4e-98b7-2f4e14dbecdf)]
[scriptable, uuid(6acf0592-60f7-4046-a95e-84a9e13ab75e)]
interface nsIDOMHTMLAreaElement : nsIDOMHTMLElement
{
attribute DOMString alt;

View File

@ -20,7 +20,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(8e3fb6a1-490d-4772-90fd-3e3763958b74)]
[scriptable, uuid(15a3360c-278c-4667-a9b5-ec6c57120ddf)]
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(8e69e7c2-2c32-4176-aec7-3ec9b518f4d7)]
[scriptable, uuid(04b2f8b6-d5d0-4023-804c-f560d9b6d97e)]
interface nsIDOMHTMLBRElement : nsIDOMHTMLElement
{
attribute DOMString clear;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a07d89f2-c923-4632-901c-47b61c2b5f72)]
[scriptable, uuid(ba49dfab-9361-4b73-b024-3e8ad810a71e)]
interface nsIDOMHTMLBaseElement : nsIDOMHTMLElement
{
attribute DOMString href;

View File

@ -20,7 +20,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(4df676f2-7da1-4b88-843c-67d6c3f151df)]
[scriptable, uuid(385b5f03-a450-4154-931f-032ba50b6ad6)]
interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement
{
attribute DOMString aLink;

View File

@ -18,7 +18,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(1b5905c5-cc98-4446-9700-a90b96e4e2f4)]
[scriptable, uuid(ef1a1782-5ea9-430f-b0ee-55f26a229512)]
interface nsIDOMHTMLButtonElement : nsIDOMHTMLElement
{
attribute boolean autofocus;

View File

@ -46,7 +46,7 @@ interface nsIFileCallback : nsISupports {
void receive(in nsIDOMBlob file);
};
[scriptable, uuid(1cfacc53-ab73-4ceb-9f5f-22387dcd1aae)]
[scriptable, uuid(7a65eb33-0441-456f-9d58-575ce4421a3f)]
interface nsIDOMHTMLCanvasElement : nsIDOMHTMLElement
{
attribute unsigned long width;

View File

@ -15,7 +15,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(97efa08f-8b7f-41bd-8be6-b806eb48b08c)]
[scriptable, uuid(2b10cb0d-79c1-4543-aac1-0d3582593c61)]
interface nsIDOMHTMLCommandElement : nsIDOMHTMLElement
{
attribute DOMString type;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(e611c0c1-d5ea-4d25-b9e5-08d4cafd0151)]
[scriptable, uuid(3571547c-9293-437f-a6bb-c96d4b5ce2d3)]
interface nsIDOMHTMLDListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -17,7 +17,7 @@
interface nsIDOMHTMLCollection;
[scriptable, uuid(87ea361b-fe0f-486b-a891-7686dadd6372)]
[scriptable, uuid(cdab1755-37ed-46c6-bcb8-520dfd64952a)]
interface nsIDOMHTMLDataListElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLCollection options;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(15b161c4-f471-4681-9368-1114f5d7a129)]
[scriptable, uuid(f762b720-e03b-471e-bf3e-5d0de482c87f)]
interface nsIDOMHTMLDirectoryElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a4f021dd-9e3b-4a78-a9a0-bae60f9a4cc4)]
[scriptable, uuid(9fbe9793-c92b-485c-b856-b87b0399574e)]
interface nsIDOMHTMLDivElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -13,7 +13,7 @@
*/
interface nsISelection;
[scriptable, uuid(fd76e045-8d97-4a97-ad75-eac5ae2f3ea4)]
[scriptable, uuid(a6603d58-3cbe-4cf3-baec-cac7aba498b6)]
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(56d50046-31af-4cdc-af51-217fb2fd0a4d)]
[scriptable, uuid(6decb41e-44e6-40ca-b3cb-9ded9c1fc382)]
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(ca0de9c2-e230-4acb-aa6d-65fc0283bf06)]
[scriptable, uuid(2989533c-72d1-480c-9870-b6b831b53ea8)]
interface nsIDOMHTMLEmbedElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -18,7 +18,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(a3e19d5b-aa7c-46bd-8bca-7135b250260a)]
[scriptable, uuid(e36fdef0-1c7f-4c1d-8917-28466ea70df8)]
interface nsIDOMHTMLFieldSetElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(3ab61e70-7aac-4d9b-99fd-1c5ec5228463)]
[scriptable, uuid(447032ca-1a2c-4e4b-b160-67b1738e5629)]
interface nsIDOMHTMLFontElement : nsIDOMHTMLElement
{
attribute DOMString color;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(6c79f4b0-3d55-45ca-8bf3-68a236e90e97)]
[scriptable, uuid(a71d7de5-eae8-42fe-9770-cc28dd040b16)]
interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
{
attribute DOMString acceptCharset;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(912423ad-00c2-4948-8f8e-4950169e516d)]
[scriptable, uuid(ee026cb0-7f3d-464d-84b8-02c97ecad7f9)]
interface nsIDOMHTMLFrameElement : nsIDOMHTMLElement
{
attribute DOMString frameBorder;

View File

@ -20,7 +20,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(e62b41c0-eaec-49bc-bf0c-be3a50b175d1)]
[scriptable, uuid(d165dc56-ca5f-4d6d-a96c-252ca246b2a9)]
interface nsIDOMHTMLFrameSetElement : nsIDOMHTMLElement
{
attribute DOMString cols;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(adf811c1-eece-4cd2-9632-ea39bc0e20e7)]
[scriptable, uuid(1d72b9fe-f100-4800-9669-7442d7f2b326)]
interface nsIDOMHTMLHRElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(2baa2206-1ce6-4208-aead-d1f6b18e97fb)]
[scriptable, uuid(3d69a421-ff1e-49e1-9208-541e417de298)]
interface nsIDOMHTMLHeadElement : nsIDOMHTMLElement
{
};

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(39a59521-2e03-436b-b87b-6405396e1a24)]
[scriptable, uuid(431846a5-243b-4e0a-abd0-098a0fb5320b)]
interface nsIDOMHTMLHeadingElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(e7720912-1fb4-4c00-ae78-faddba690b45)]
[scriptable, uuid(f4249435-cf81-4806-a5db-a53c8f8731c5)]
interface nsIDOMHTMLHtmlElement : nsIDOMHTMLElement
{
attribute DOMString version;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(87d6e8db-4ae2-4a9d-a546-510836611038)]
[scriptable, uuid(3cdaedb6-5029-4852-a66e-b0d3c295b972)]
interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(0e2ffdcb-b881-436b-a450-4790f47b60fe)]
[scriptable, uuid(fc7490d1-234b-4d0a-910d-5fb859c99fc1)]
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(3f51d301-be0e-4e19-b056-ea98c03eedfd)]
[scriptable, uuid(858dfd88-491b-4276-8acb-8e0f4d4fff54)]
interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
{
attribute DOMString accept;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(8be7060b-66fe-47f4-99f0-44fe65cf9cd6)]
[scriptable, uuid(090b4519-3636-4ea3-be6f-83d4917456a9)]
interface nsIDOMHTMLLIElement : nsIDOMHTMLElement
{
attribute DOMString type;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(02024255-6b9e-445f-971e-ac71ed091a64)]
[scriptable, uuid(b59fe47f-c4e7-47c4-b9c8-6960495fe7e3)]
interface nsIDOMHTMLLabelElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(42f1c264-d2b1-4f50-95cf-929ae2ea4c52)]
[scriptable, uuid(27b837cb-c825-4248-9c7c-99e2a7ddaebc)]
interface nsIDOMHTMLLegendElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(ca856a0b-6786-4123-90fe-dc9c7600274e)]
[scriptable, uuid(1e63390c-4263-4578-a584-d2f2bbf37141)]
interface nsIDOMHTMLLinkElement : nsIDOMHTMLElement
{
[binaryname(MozDisabled)]

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(4b2136a3-f296-479a-88dc-ed4421eb3a22)]
[scriptable, uuid(ea67d322-96be-4941-8e78-35cce42b411c)]
interface nsIDOMHTMLMapElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLCollection areas;

View File

@ -27,7 +27,7 @@ interface nsIDOMMediaStream;
#endif
%}
[scriptable, uuid(585a5edd-0a64-4edb-a7d7-d0304e3b8e55)]
[scriptable, uuid(488eb1d7-fa08-425e-bac4-f7dd59805352)]
interface nsIDOMHTMLMediaElement : nsIDOMHTMLElement
{
// error state

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(6790c2f5-01ac-43ba-9145-dd2052e3b0c7)]
[scriptable, uuid(7d2b6008-9554-403d-8f21-e1bedba4d057)]
interface nsIDOMHTMLMenuElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -12,7 +12,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(79a4ca67-bca8-4044-bc69-629e8961137a)]
[scriptable, uuid(dacbe36c-5e6e-4949-99af-6644baf8118a)]
interface nsIDOMHTMLMenuItemElement : nsIDOMHTMLCommandElement
{
};

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(1aeebf8a-577e-433a-ae40-339426b52e96)]
[scriptable, uuid(26482444-c807-4268-96cf-c07f54fd9fa4)]
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(53b55f04-fd1a-47e5-8181-d059114a3bc9)]
[scriptable, uuid(4ac29593-8756-4060-a960-478082b82c48)]
interface nsIDOMHTMLMeterElement : nsIDOMHTMLElement
{
attribute double value;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(c8ce2f75-2bbf-4c30-8627-0ea1a7b2ebf7)]
[scriptable, uuid(860f2f1b-3d75-4b11-b3e3-c4aa7e6007b7)]
interface nsIDOMHTMLModElement : nsIDOMHTMLElement
{
attribute DOMString cite;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(d94ba4eb-a154-4abf-9868-105905e995e4)]
[scriptable, uuid(56dc0564-41a5-4a49-b8ca-7ede3766c084)]
interface nsIDOMHTMLOListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -18,7 +18,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(2481afa7-9ca3-448b-80d7-0138c47b5b33)]
[scriptable, uuid(0d8341fb-1d07-41e3-98ad-2782aedf7224)]
interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(cc9fe8ad-908b-40c4-b007-254e15d783bb)]
[scriptable, uuid(4d103638-5db1-4426-ba16-df773d6ad61c)]
interface nsIDOMHTMLOptGroupElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(d4c53417-e746-451a-8b8a-0fa3fcda95b3)]
[scriptable, uuid(a6fbb1d0-5342-47cd-94a3-1e50cae98648)]
interface nsIDOMHTMLOptionElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -17,7 +17,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(6d6bf653-3eb4-420f-b1b0-6ad919a06926)]
[scriptable, uuid(de830a0f-0722-4258-8ec4-5cb75c4fd0fe)]
interface nsIDOMHTMLOutputElement : nsIDOMHTMLElement
{
// DOMSettableTokenList

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(ccc50b61-8e2e-4e0a-be5e-0b30923051b0)]
[scriptable, uuid(6bed192b-064f-4c62-922d-22820f822933)]
interface nsIDOMHTMLParagraphElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(9cb0d681-1d1c-4c5d-b165-579cafcdf897)]
[scriptable, uuid(fa065fd2-daa5-4695-bb5e-67f7148e310d)]
interface nsIDOMHTMLParamElement : nsIDOMHTMLElement
{
attribute DOMString name;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(128840c4-0973-4c7a-b71a-81e23071f1f6)]
[scriptable, uuid(b7924741-8a28-469b-85a8-3880133f2fac)]
interface nsIDOMHTMLPreElement : nsIDOMHTMLElement
{
attribute long width;

View File

@ -15,7 +15,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(e5ba151c-0772-4849-8021-fb30f341fff9)]
[scriptable, uuid(67a5c7ec-40bb-49ac-a38d-59f3b31e1af1)]
interface nsIDOMHTMLProgressElement : nsIDOMHTMLElement
{
attribute double value;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(fa9731da-fa8a-48a4-95a3-cba2623bcc59)]
[scriptable, uuid(5f07a07a-8f10-4af6-919f-2c6c2c01cedf)]
interface nsIDOMHTMLQuoteElement : nsIDOMHTMLElement
{
attribute DOMString cite;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(e445db32-0116-4cf5-b73e-7073ccf3d259)]
[scriptable, uuid(09b9dd56-e330-4556-93ca-7557cfcf4233)]
interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
{
attribute DOMString src;

View File

@ -19,7 +19,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(d959feb0-a7e8-44d6-9346-b48253ad8ba4)]
[scriptable, uuid(a26d6b65-3b24-4937-866c-6c55360789a6)]
interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
{
attribute boolean autofocus;

View File

@ -16,7 +16,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(333faeb7-93dc-439e-a50e-a9df705b8ba6)]
[scriptable, uuid(3ccb1f98-1fa7-4a7e-9fd7-8d76f65603e6)]
interface nsIDOMHTMLSourceElement : nsIDOMHTMLElement
{
attribute DOMString src;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(5e6c9cac-5594-4006-ae3f-ad82fb28cee9)]
[scriptable, uuid(2bda99f1-8bcc-49b9-8dd0-58038b88b0d5)]
interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
{
[binaryname(MozDisabled)]

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, builtinclass, uuid(310ebe52-7377-4fc4-9546-a6f4dcaafa1f)]
[scriptable, builtinclass, uuid(bdc0d664-38f5-4641-a239-8df467df7adb)]
interface nsIDOMHTMLTableCaptionElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(2c008303-f082-434b-b47e-4c8dea659ea0)]
[scriptable, uuid(10c52e00-cbc4-4be6-b8c6-cf2cda572fce)]
interface nsIDOMHTMLTableCellElement : nsIDOMHTMLElement
{
readonly attribute long cellIndex;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(f38fe6c8-9dfd-4c24-aeab-352459383d67)]
[scriptable, uuid(d46da739-40fd-49b2-971f-00023b486a78)]
interface nsIDOMHTMLTableColElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(cee6898b-621f-4e94-b9d1-53e7f42dbd3a)]
[scriptable, uuid(e8d19646-c92d-4240-8bfd-f68a365b0d28)]
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(ccbaf4d5-1c2d-4edb-9faf-094e357da044)]
[scriptable, uuid(901e174b-40ae-411e-8acd-dda2a852419c)]
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(233c3242-5379-4977-81c5-58bf90743a09)]
[scriptable, builtinclass, uuid(3dada615-87fb-411f-8fbf-237d3580ba9d)]
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(c888f597-b77e-4ba6-b7bc-09cfc7d58f4a)]
[scriptable, uuid(6ca97089-e788-4f13-8f79-da3188969bb0)]
interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
{
attribute boolean autofocus;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(5da56fa3-1a87-4931-8411-3f6be1a43178)]
[scriptable, uuid(3eef2f10-8a28-4e8a-853f-110782105f04)]
interface nsIDOMHTMLTitleElement : nsIDOMHTMLElement
{
attribute DOMString text;

View File

@ -16,7 +16,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(edb972d4-82b0-4be6-9145-caeb5d99a4ae)]
[scriptable, uuid(05e6f393-ac1d-47fe-b7ad-a9000ba3889c)]
interface nsIDOMHTMLUListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -11,7 +11,7 @@
*
* @see <http://www.whatwg.org/html/#htmlunknownelement>
*/
[scriptable, uuid(3f4be98b-c6e5-41b4-bc0d-f659f7d109e0)]
[scriptable, uuid(1b9f16f6-c56c-4b2a-ada7-93604eaf8075)]
interface nsIDOMHTMLUnknownElement : nsIDOMHTMLElement
{
};

View File

@ -16,7 +16,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(4582aec0-8627-4a45-9aa4-22ec64ae9309)]
[scriptable, uuid(f750a6c7-641a-412e-81bc-d3d681f28002)]
interface nsIDOMHTMLVideoElement : nsIDOMHTMLMediaElement
{
attribute long width;

View File

@ -7,7 +7,7 @@
interface nsIDOMSVGElement;
[scriptable, uuid(72d201c7-159c-4b64-886f-ed3920dd9462)]
[scriptable, uuid(5ed36863-ab97-4f39-b8f7-350ddd1c940f)]
interface nsIDOMSVGDocument : nsIDOMDocument
{
readonly attribute DOMString domain;

View File

@ -10,7 +10,7 @@ interface nsIDOMCSSStyleDeclaration;
interface nsIDOMCSSValue;
[scriptable, uuid(b0d2bcfa-9aac-4c23-9a8b-b88f7c4b93a5)]
[scriptable, uuid(dd62ac57-a9ad-46d4-80a9-6cf179970c66)]
interface nsIDOMSVGElement : nsIDOMElement
{
attribute DOMString id;

View File

@ -11,7 +11,7 @@ interface nsIDOMSVGAnimatedNumber;
interface nsIDOMSVGAnimatedEnumeration;
interface nsIDOMSVGAnimatedInteger;
[scriptable, uuid(4db427db-bbe2-4c22-875e-ed62c93cd759)]
[scriptable, uuid(d53cce38-2b96-4803-9ca0-0310becd6873)]
interface nsIDOMSVGFilterPrimitiveStandardAttributes : nsIDOMSVGElement
{
readonly attribute nsIDOMSVGAnimatedLength x;
@ -21,14 +21,14 @@ interface nsIDOMSVGFilterPrimitiveStandardAttributes : nsIDOMSVGElement
readonly attribute nsIDOMSVGAnimatedString result;
};
[scriptable, uuid(4fa9fbbe-482c-418a-afd1-d51b003f5a04)]
[scriptable, uuid(89dca8ae-68bf-4259-a52d-b1040dc7f410)]
interface nsIDOMSVGFEOffsetElement : nsIDOMSVGFilterPrimitiveStandardAttributes {
readonly attribute nsIDOMSVGAnimatedString in1;
readonly attribute nsIDOMSVGAnimatedNumber dx;
readonly attribute nsIDOMSVGAnimatedNumber dy;
};
[scriptable, uuid(b0f8b61c-7825-4149-a295-c85604ec50fa)]
[scriptable, uuid(14eb581d-0e54-42b5-a595-5db6c9490277)]
interface nsIDOMSVGFETurbulenceElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Turbulence Types
@ -48,7 +48,7 @@ interface nsIDOMSVGFETurbulenceElement : nsIDOMSVGFilterPrimitiveStandardAttribu
readonly attribute nsIDOMSVGAnimatedEnumeration type;
};
[scriptable, uuid(655154fa-ad26-45b5-81b1-988986707ee4)]
[scriptable, uuid(053c0aec-30df-48e9-9059-53f43b5261bb)]
interface nsIDOMSVGFEMorphologyElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Operator Types
@ -64,7 +64,7 @@ interface nsIDOMSVGFEMorphologyElement : nsIDOMSVGFilterPrimitiveStandardAttribu
void setRadius ( in float rx, in float ry );
};
[scriptable, uuid(658c2d9c-01aa-4896-a35a-c42147fcf004)]
[scriptable, uuid(7d49f132-5145-4b47-896a-ac5f9e6b6941)]
interface nsIDOMSVGFEConvolveMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Edge Mode Values
@ -88,7 +88,7 @@ interface nsIDOMSVGFEConvolveMatrixElement : nsIDOMSVGFilterPrimitiveStandardAtt
readonly attribute nsISupports preserveAlpha;
};
[scriptable, uuid(44b5d9f8-87ec-46e7-9d55-115edbeebdd6)]
[scriptable, uuid(309be736-d55a-40fe-a2f2-088aea14f0fa)]
interface nsIDOMSVGFEDiffuseLightingElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
@ -98,7 +98,7 @@ interface nsIDOMSVGFEDiffuseLightingElement : nsIDOMSVGFilterPrimitiveStandardA
readonly attribute nsIDOMSVGAnimatedNumber kernelUnitLengthY;
};
[scriptable, uuid(2426a9ec-d891-47a8-bab6-d32b10fc5e81)]
[scriptable, uuid(bb2bac9f-dfab-4ce3-926a-9cfc11ab7922)]
interface nsIDOMSVGFESpecularLightingElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
@ -109,7 +109,7 @@ interface nsIDOMSVGFESpecularLightingElement : nsIDOMSVGFilterPrimitiveStandardA
readonly attribute nsIDOMSVGAnimatedNumber kernelUnitLengthY;
};
[scriptable, uuid(91cc30ef-4b48-4a11-8d29-13f8ffe28821)]
[scriptable, uuid(99068af4-1156-46b6-afcc-4b9f37621d10)]
interface nsIDOMSVGFESpotLightElement : nsIDOMSVGElement {
readonly attribute nsIDOMSVGAnimatedNumber x;
readonly attribute nsIDOMSVGAnimatedNumber y;
@ -121,7 +121,7 @@ interface nsIDOMSVGFESpotLightElement : nsIDOMSVGElement {
readonly attribute nsIDOMSVGAnimatedNumber limitingConeAngle;
};
[scriptable, uuid(64bd5e60-5961-4db5-a7ab-718354491fcb)]
[scriptable, uuid(5ab43048-d59a-4e3c-ad2f-6a5d8593f6d0)]
interface nsIDOMSVGFEDisplacementMapElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Channel Selectors

View File

@ -9,7 +9,7 @@
#include "nsIDOMNode.idl"
[scriptable, uuid(558c2ab9-513e-43c2-afea-4930024b15b3)]
[scriptable, uuid(b42c46c4-cd95-49c7-bdfe-14f51a379618)]
interface nsIDOMXPathNamespace : nsIDOMNode
{
// XPathNodeType

View File

@ -5,7 +5,7 @@
#include "nsIDOMXULLabeledControlEl.idl"
[scriptable, uuid(8eec22e8-91f4-44fc-9142-b4cd0f623076)]
[scriptable, uuid(db51259e-4d2f-4b86-a686-6831e77b58b3)]
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(b0539219-67c8-47c1-934c-08040701b33b)]
[scriptable, uuid(de8d1776-92a4-4776-92bc-dd31c3a8d6bf)]
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(0cedc92f-a0ab-4c4c-83e9-582607b8d7e2)]
[scriptable, uuid(149c9fbd-3939-4bd9-91d6-6238ae956a56)]
interface nsIDOMXULContainerItemElement : nsIDOMXULElement
{
/**
@ -15,7 +15,7 @@ interface nsIDOMXULContainerItemElement : nsIDOMXULElement
readonly attribute nsIDOMXULContainerElement parentContainer;
};
[scriptable, uuid(c0b1bfdd-6199-412d-af79-8d6524865a5b)]
[scriptable, uuid(02d5a022-f2da-48d5-9cfd-68d515861240)]
interface nsIDOMXULContainerElement : nsIDOMXULContainerItemElement
{
/**

View File

@ -8,7 +8,7 @@
interface nsIControllers;
[scriptable, uuid(3b1bce24-c3ad-4568-8e10-85922b521e8b)]
[scriptable, uuid(caeccd1a-7559-4888-ade2-5879d24315c0)]
interface nsIDOMXULControlElement : nsIDOMXULElement {
attribute boolean disabled;
attribute long tabIndex;

View File

@ -6,7 +6,7 @@
#include "nsIDOMXULElement.idl"
[scriptable, uuid(c5e2a24f-3c35-40c0-baf1-c92ecd09d232)]
[scriptable, uuid(34712e25-babb-456b-afa3-fdc7e78cd778)]
interface nsIDOMXULDescriptionElement : nsIDOMXULElement {
attribute boolean disabled;
attribute boolean crop;

View File

@ -10,7 +10,7 @@ interface nsIDOMXULCommandDispatcher;
interface nsIObserver;
interface nsIBoxObject;
[scriptable, uuid(7b188822-f3fc-42f2-93a9-7eee445e0108)]
[scriptable, uuid(321957b3-0c30-4d8c-acbf-c18b3c93724d)]
interface nsIDOMXULDocument : nsIDOMDocument
{
attribute nsIDOMNode popupNode;

View File

@ -12,7 +12,7 @@ interface nsIControllers;
interface nsIBoxObject;
[scriptable, uuid(5d9d2e4f-a748-44f0-99d1-406384efdc5c)]
[scriptable, uuid(d766ac03-e437-4923-9c38-001dc433be75)]
interface nsIDOMXULElement : nsIDOMElement
{
attribute DOMString className;

View File

@ -5,7 +5,7 @@
#include "nsIDOMElement.idl"
#include "nsIDOMXULElement.idl"
[scriptable, uuid(d7967c4e-60e1-486d-a730-c25b285f0ffa)]
[scriptable, uuid(4088e81d-c1dc-40d5-9016-cef0adc836b6)]
interface nsIDOMXULImageElement : nsIDOMXULElement {
attribute DOMString src;
};

View File

@ -5,7 +5,7 @@
#include "nsIDOMXULDescriptionElement.idl"
[scriptable, uuid(6fe7161c-bab0-4232-9145-76d82480c1b0)]
[scriptable, uuid(dc79cd5b-923b-42a2-8efc-ff00cb7f9e8e)]
interface nsIDOMXULLabelElement : nsIDOMXULDescriptionElement {
attribute DOMString accessKey;
attribute DOMString control;

View File

@ -6,7 +6,7 @@
#include "nsIDOMElement.idl"
#include "nsIDOMXULControlElement.idl"
[scriptable, uuid(eecd5462-3ead-4caa-9651-0c2b88b39a65)]
[scriptable, uuid(61be0478-d99d-4828-a7bf-c4979ef690ae)]
interface nsIDOMXULLabeledControlElement : nsIDOMXULControlElement {
attribute DOMString crop;
attribute DOMString image;

View File

@ -6,7 +6,7 @@
#include "nsIDOMXULSelectCntrlEl.idl"
interface nsIDOMXULTextBoxElement;
[scriptable, uuid(df76f885-717a-484b-81f9-76700a04b51d)]
[scriptable, uuid(3ff9d357-ce7f-49f7-9c84-efa7d87d497f)]
interface nsIDOMXULMenuListElement : nsIDOMXULSelectControlElement {
attribute boolean editable;
attribute boolean open;

View File

@ -5,7 +5,7 @@
#include "nsIDOMXULSelectCntrlEl.idl"
[scriptable, uuid(16a38e07-405b-42a3-b45d-c78037757c01)]
[scriptable, uuid(878a7ece-8a79-493d-97dd-e89b86f75ce9)]
interface nsIDOMXULMultiSelectControlElement : nsIDOMXULSelectControlElement
{
attribute DOMString selType;

View File

@ -6,7 +6,7 @@
#include "nsIDOMElement.idl"
#include "nsIDOMXULElement.idl"
[scriptable, uuid(0037e541-09f8-475d-8274-ceff62332e6b)]
[scriptable, uuid(d930acb8-c74f-44bd-ac84-ebe5fd1ea98c)]
interface nsIDOMXULPopupElement : nsIDOMXULElement {
const unsigned short BEFORE_START = 1;
const unsigned short BEFORE_END = 2;

View File

@ -6,7 +6,7 @@
#include "nsIDOMXULControlElement.idl"
interface nsIDOMXULSelectControlItemElement;
[scriptable, uuid(f9cbf59c-0cdd-416e-a809-40da4a7a8cb5)]
[scriptable, uuid(ef83c335-b71d-4b86-9519-451ee78db033)]
interface nsIDOMXULSelectControlElement : nsIDOMXULControlElement {
attribute nsIDOMXULSelectControlItemElement selectedItem;
attribute long selectedIndex;

View File

@ -6,7 +6,7 @@
#include "nsIDOMXULElement.idl"
interface nsIDOMXULSelectControlElement;
[scriptable, uuid(85fa64de-91d9-4b2f-b9fb-28eb718ea436)]
[scriptable, uuid(281d86b5-4448-410b-8eeb-9f4834678ab3)]
interface nsIDOMXULSelectControlItemElement : nsIDOMXULElement {
attribute boolean disabled;
attribute DOMString crop;

View File

@ -6,7 +6,7 @@
#include "nsIDOMXULLabeledControlEl.idl"
interface nsIDOMHTMLInputElement;
[scriptable, uuid(5bab7935-6219-45f8-9f7c-54ac8e9b023b)]
[scriptable, uuid(254e8f5a-4476-4bd4-aee8-1eb0fba454ab)]
interface nsIDOMXULTextBoxElement : nsIDOMXULControlElement
{
// inputField may be any type of editable field, such as an

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