Bug 604592 - Make Node.prefix readonly; r=smaug

This commit is contained in:
Ms2ger 2011-04-11 13:06:18 +02:00
parent 9ee84d3b5b
commit 0153337929
147 changed files with 188 additions and 2452 deletions

View File

@ -745,20 +745,6 @@ public:
return *aResult ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/**
* Convenience method to create a new nodeinfo that differs only by prefix
* from aNodeInfo.
*/
static nsresult PrefixChanged(nsINodeInfo *aNodeInfo, nsIAtom *aPrefix,
nsINodeInfo** aResult)
{
nsNodeInfoManager *niMgr = aNodeInfo->NodeInfoManager();
*aResult = niMgr->GetNodeInfo(aNodeInfo->NameAtom(), aPrefix,
aNodeInfo->NamespaceID()).get();
return *aResult ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
/**
* Returns the appropriate event argument names for the specified
* namespace and event name. Added because we need to switch between

View File

@ -467,49 +467,6 @@ nsDOMAttribute::GetPrefix(nsAString& aPrefix)
return NS_OK;
}
NS_IMETHODIMP
nsDOMAttribute::SetPrefix(const nsAString& aPrefix)
{
// XXX: Validate the prefix string!
nsCOMPtr<nsINodeInfo> newNodeInfo;
nsCOMPtr<nsIAtom> prefix;
if (!aPrefix.IsEmpty()) {
prefix = do_GetAtom(aPrefix);
if (!prefix) {
return NS_ERROR_OUT_OF_MEMORY;
}
}
if (!nsContentUtils::IsValidNodeName(mNodeInfo->NameAtom(), prefix,
mNodeInfo->NamespaceID())) {
return NS_ERROR_DOM_NAMESPACE_ERR;
}
nsresult rv = nsContentUtils::PrefixChanged(mNodeInfo, prefix,
getter_AddRefs(newNodeInfo));
NS_ENSURE_SUCCESS(rv, rv);
nsIContent* content = GetContentInternal();
if (content) {
nsCOMPtr<nsIAtom> name = GetNameAtom(content);
PRInt32 nameSpaceID = mNodeInfo->NamespaceID();
nsAutoString tmpValue;
if (content->GetAttr(nameSpaceID, name, tmpValue)) {
content->UnsetAttr(nameSpaceID, name, PR_TRUE);
content->SetAttr(newNodeInfo->NamespaceID(), name,
newNodeInfo->GetPrefixAtom(), tmpValue, PR_TRUE);
}
}
newNodeInfo.swap(mNodeInfo);
return NS_OK;
}
NS_IMETHODIMP
nsDOMAttribute::GetLocalName(nsAString& aLocalName)
{

View File

@ -5771,12 +5771,6 @@ nsDocument::GetPrefix(nsAString& aPrefix)
return NS_OK;
}
NS_IMETHODIMP
nsDocument::SetPrefix(const nsAString& aPrefix)
{
return NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR;
}
NS_IMETHODIMP
nsDocument::GetLocalName(nsAString& aLocalName)
{

View File

@ -172,12 +172,6 @@ nsGenericDOMDataNode::GetPrefix(nsAString& aPrefix)
return NS_OK;
}
nsresult
nsGenericDOMDataNode::SetPrefix(const nsAString& aPrefix)
{
return NS_ERROR_DOM_NAMESPACE_ERR;
}
nsresult
nsGenericDOMDataNode::GetLocalName(nsAString& aLocalName)
{

View File

@ -131,7 +131,6 @@ public:
nsresult GetNamespaceURI(nsAString& aNamespaceURI);
nsresult GetLocalName(nsAString& aLocalName);
nsresult GetPrefix(nsAString& aPrefix);
nsresult SetPrefix(const nsAString& aPrefix);
nsresult Normalize();
nsresult IsSupported(const nsAString& aFeature,
const nsAString& aVersion,
@ -471,9 +470,6 @@ private:
NS_IMETHOD GetPrefix(nsAString& aPrefix) { \
return nsGenericDOMDataNode::GetPrefix(aPrefix); \
} \
NS_IMETHOD SetPrefix(const nsAString& aPrefix) { \
return nsGenericDOMDataNode::SetPrefix(aPrefix); \
} \
NS_IMETHOD Normalize() { \
return NS_OK; \
} \

View File

@ -2218,40 +2218,6 @@ nsGenericElement::GetPrefix(nsAString& aPrefix)
return NS_OK;
}
NS_IMETHODIMP
nsGenericElement::SetPrefix(const nsAString& aPrefix)
{
// XXX: Validate the prefix string!
nsCOMPtr<nsIAtom> prefix;
if (!aPrefix.IsEmpty()) {
prefix = do_GetAtom(aPrefix);
NS_ENSURE_TRUE(prefix, NS_ERROR_OUT_OF_MEMORY);
}
if (!nsContentUtils::IsValidNodeName(mNodeInfo->NameAtom(), prefix,
mNodeInfo->NamespaceID())) {
return NS_ERROR_DOM_NAMESPACE_ERR;
}
nsAutoScriptBlocker scriptBlocker;
nsCOMPtr<nsINodeInfo> newNodeInfo;
nsresult rv = nsContentUtils::PrefixChanged(mNodeInfo, prefix,
getter_AddRefs(newNodeInfo));
NS_ENSURE_SUCCESS(rv, rv);
mNodeInfo.swap(newNodeInfo);
NodeInfoChanged(newNodeInfo);
// The id-handling code need to react to unexpected changes to an elements
// nodeinfo as that can change the elements id-attribute.
nsMutationGuard::DidMutate();
return NS_OK;
}
static already_AddRefed<nsIDOMNSFeatureFactory>
GetDOMFeatureFactory(const nsAString& aFeature, const nsAString& aVersion)
{

View File

@ -506,7 +506,6 @@ public:
NS_IMETHOD GetAttributes(nsIDOMNamedNodeMap** aAttributes);
NS_IMETHOD GetNamespaceURI(nsAString& aNamespaceURI);
NS_IMETHOD GetPrefix(nsAString& aPrefix);
NS_IMETHOD SetPrefix(const nsAString& aPrefix);
NS_IMETHOD Normalize();
NS_IMETHOD IsSupported(const nsAString& aFeature,
const nsAString& aVersion, PRBool* aReturn);

View File

@ -472,6 +472,7 @@ _TEST_FILES2 = \
test_bug558431.html \
file_bug558431.html \
file_bug558431.html^headers^ \
test_bug604592.html \
test_bug628938.html \
test_bug626262.html \
$(NULL)

View File

@ -287,70 +287,6 @@ nsx.removeAttribute("id");
ok(mutateFired, "mutation event fired");
// Check that modifying the id-name of an XML element works
ok($("ns-holder"), "ns-holder exists");
ok($("ns2-holder"), "ns2-holder exists");
root.appendChild(nsx);
nsx.setAttribute("id", "ns_id");
is(nsx_cs.color, "rgb(50, 50, 50)", "nsx has initial id");
is($("ns_id"), nsx, "gEBI works on old id");
nsx.setAttribute("id_2", "ns2_id");
nsx.prefix = "ns2";
is($("ns2_id"), nsx, "gEBI works on new id");
is($("ns_id"), null, "gEBI does't work on old id");
removeNode(nsx);
root.appendChild(nsx);
is(nsx_cs.color, "rgb(60, 60, 60)", "nsx has new id");
is($("ns2_id"), nsx, "gEBI still works on new id");
// Need to change id and then CC to ensure that we don't end up with dangling pointers
function gc() {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
window.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
.getInterface(Components.interfaces.nsIDOMWindowUtils)
.garbageCollect();
}
ok($("ns-holder"), "ns-holder exists");
ok($("ns2-holder"), "ns2-holder exists");
tempNode = document.createElementNS("urn:namespace", "ns:x");
tempNode.setAttribute("id", "tempNode_id");
document.body.appendChild(tempNode);
is($("tempNode_id"), tempNode, "tempNode in gEBI table");
tempNode.prefix = "ns2";
removeNode(tempNode);
tempNode = null;
gc();
$("tempNode_id");
ok(true, "Didn't crash when accessing old id");
// Update the id-name inside a mutation event
removeNode(nsx);
nsx = document.createElementNS("urn:namespace", "ns:x");
nsx.setAttribute("id", "ns_id");
nsx.setAttribute("id_2", "ns2_id");
root.appendChild(nsx);
is($("ns_id"), nsx, "new nsx is set up");
is($("ns2_id"), null, "ns2_id doesn't exist");
mutateFired = false;
nsx.addEventListener("DOMAttrModified", function(e) {
nsx.removeEventListener("DOMAttrModified", arguments.callee, false);
is(e.target, nsx, "target is nsx");
is(nsx.getAttribute("id"), null, "nsx no longer has id attr");
nsx.prefix = "ns2";
mutateFired = true;
}, false);
nsx.removeAttribute("id");
ok(mutateFired, "mutation event fired");
is($("ns_id"), null, "ns_id was removed from table");
is($("ns2_id"), nsx, "ns2_id was added");
removeNode(nsx);
is($("ns2_id"), null, "ns2_id was removed");
nsx = null;
gc();
$("ns2_id");
ok(true, "we didn't crash");
// Re-add the id inside a mutation event on a XML element
is($("ns_id"), null, "no nsx");
is($("ns2_id"), null, "no nsx");

View File

@ -0,0 +1,38 @@
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=604592
-->
<head>
<title>Test for Bug 604592</title>
<script type="application/javascript" src="/MochiKit/packed.js"></script>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=604592">Mozilla Bug 604592</a>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script type="application/javascript">
/** Test for Bug 604592 **/
function testInStrictMode() {
"use strict";
try {
document.body.prefix = "foo";
ok(false, "Should not have reached this point");
} catch (e) {
ok(e instanceof TypeError, "Expected a TypeError");
}
}
testInStrictMode();
document.body.prefix = "foo";
ok(document.body.prefix === null,
"Expected strictly equal to null, got " + document.body.prefix);
</script>
</pre>
</body>
</html>

View File

@ -48,7 +48,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf9070-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(669a0f55-1e5d-4471-8de9-a6c6774354dd)]
interface nsIDOMAttr : nsIDOMNode
{
readonly attribute DOMString name;

View File

@ -49,7 +49,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf9071-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(f8da723d-0d32-4bbc-a11e-898e506cd908)]
interface nsIDOMCDATASection : nsIDOMText
{
};

View File

@ -47,7 +47,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf9072-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(6ce64178-d600-4e5e-a33a-5bde69f05bd5)]
interface nsIDOMCharacterData : nsIDOMNode
{
attribute DOMString data;

View File

@ -48,7 +48,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf9073-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(eaf04950-d409-41a0-a99d-2e4e43c1e33d)]
interface nsIDOMComment : nsIDOMCharacterData
{
};

View File

@ -54,7 +54,7 @@ interface nsIDOMDOMConfiguration;
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(fde1a53b-cf60-4997-a0b2-1aa1dc55492e)]
[scriptable, uuid(3e7421c4-9964-4184-8c75-d291eecdba35)]
interface nsIDOMDocument : nsIDOMNode
{
readonly attribute nsIDOMDocumentType doctype;

View File

@ -48,7 +48,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf9076-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(06376ec5-7c91-45ad-a346-30a06a125935)]
interface nsIDOMDocumentFragment : nsIDOMNode
{
};

View File

@ -49,7 +49,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf9077-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(5725a7de-2883-45a5-878e-30773cd82478)]
interface nsIDOMDocumentType : nsIDOMNode
{
readonly attribute DOMString name;

View File

@ -47,7 +47,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf9078-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(f220e259-5c41-4cca-a38b-7267ffa874aa)]
interface nsIDOMElement : nsIDOMNode
{
readonly attribute DOMString tagName;

View File

@ -47,7 +47,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf9079-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(944d8c6a-631d-408d-846f-d4ff5fa93ae6)]
interface nsIDOMEntity : nsIDOMNode
{
readonly attribute DOMString publicId;

View File

@ -47,7 +47,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf907a-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(ab7e88aa-7c95-4d0a-94de-c632ca0c25cc)]
interface nsIDOMEntityReference : nsIDOMNode
{
};

View File

@ -22,6 +22,7 @@
* Contributor(s):
* Vidur Apparao <vidur@netscape.com> (original author)
* Johnny Stenback <jst@netscape.com>
* Ms2ger <ms2ger@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
@ -45,10 +46,10 @@
* It represents a single node in the document tree.
*
* For more information on this interface please see
* http://www.w3.org/TR/DOM-Level-2-Core/
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(a6cf907c-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(817dc774-2ad2-4111-9042-1787df86c015)]
interface nsIDOMNode : nsISupports
{
const unsigned short ELEMENT_NODE = 1;
@ -97,9 +98,8 @@ interface nsIDOMNode : nsISupports
in DOMString version);
// Introduced in DOM Level 2:
readonly attribute DOMString namespaceURI;
// Introduced in DOM Level 2:
attribute DOMString prefix;
// raises(DOMException) on setting
// Modified in DOM Core
readonly attribute DOMString prefix;
// Introduced in DOM Level 2:
readonly attribute DOMString localName;

View File

@ -48,7 +48,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf907e-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(43658ade-a157-447a-8dcd-aa7fc824ef0a)]
interface nsIDOMNotation : nsIDOMNode
{
readonly attribute DOMString publicId;

View File

@ -48,7 +48,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf907f-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(1c3118cc-4d21-40cc-96c4-9d46facee5d1)]
interface nsIDOMProcessingInstruction : nsIDOMNode
{
readonly attribute DOMString target;

View File

@ -47,7 +47,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(a6cf9082-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(48642156-d686-46b7-8e96-35edd5b2afa8)]
interface nsIDOMText : nsIDOMCharacterData
{
nsIDOMText splitText(in unsigned long offset)

View File

@ -38,7 +38,7 @@
#include "nsIDOMDocument.idl"
[scriptable, uuid(5eb33612-2f3c-424d-acd8-3ff9cc358ad1)]
[scriptable, uuid(9f07f216-b3a3-4a08-81f1-a48075b91d1c)]
interface nsIDOMXMLDocument : nsIDOMDocument
{
// DOM Level 3 Load & Save, DocumentLS

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(4e237175-3628-4dc8-892f-5270edc3c71a)]
[scriptable, uuid(99419cf8-5835-4c2a-b013-189b17f0423f)]
interface nsIDOMHTMLAnchorElement : nsIDOMHTMLElement
{
attribute DOMString href;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90ae-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(a70cc757-4640-4c73-b73b-eb07cf43d90b)]
interface nsIDOMHTMLAppletElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(fca7d30d-c834-470d-9bb2-25eddfedd86b)]
[scriptable, uuid(89547ef1-f349-4c4f-ada7-5d51234de0c0)]
interface nsIDOMHTMLAreaElement : nsIDOMHTMLElement
{
attribute DOMString alt;

View File

@ -52,7 +52,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(cd1a6a6b-bc4c-4e5a-b7da-53dccc878ab8)]
[scriptable, uuid(8cb32fc5-d302-46ab-ac91-5bcb21d05023)]
interface nsIDOMHTMLAudioElement : nsIDOMHTMLMediaElement
{
// Setup the audio stream for writing

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90a5-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(e7ecc247-4f30-4de2-835f-642ad76af28f)]
interface nsIDOMHTMLBRElement : nsIDOMHTMLElement
{
attribute DOMString clear;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf908b-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(43fc71aa-f089-4056-b3a6-2259d13fb11a)]
interface nsIDOMHTMLBaseElement : nsIDOMHTMLElement
{
attribute DOMString href;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf908e-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(22c641f6-f39b-4f6b-b1f5-8271a200bf01)]
interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement
{
attribute DOMString aLink;

View File

@ -52,7 +52,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(bcae78a1-9f9b-46bf-abb5-a3fe410d97ae)]
[scriptable, uuid(e158abd8-2521-4ce9-af68-26b70ada7614)]
interface nsIDOMHTMLButtonElement : nsIDOMHTMLElement
{
attribute boolean autofocus;

View File

@ -54,7 +54,7 @@
interface nsIDOMFile;
[scriptable, uuid(6b44a95a-c0ad-41f9-beb5-579bdb8698f2)]
[scriptable, uuid(f11cc1ae-3c8d-46b9-90cd-7b3f3395b2dd)]
interface nsIDOMHTMLCanvasElement : nsIDOMHTMLElement
{
attribute unsigned long width;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf909b-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(a291df4d-ee6f-46f7-b1d8-9680a387c23e)]
interface nsIDOMHTMLDListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -49,7 +49,7 @@
interface nsIDOMHTMLCollection;
[scriptable, uuid(ec66a63e-8a23-4a85-bd53-050b49a2b048)]
[scriptable, uuid(cbea212b-8dda-42a5-b2c4-5942f55e1dfe)]
interface nsIDOMHTMLDataListElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLCollection options;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf909c-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(65f89019-bcf9-4661-8211-f52dbb9a7fe5)]
interface nsIDOMHTMLDirectoryElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90a0-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(06b50d6a-611e-4f3c-baa6-3af81155f0bb)]
interface nsIDOMHTMLDivElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(fdab9ba2-c6ff-42c1-83ad-dea0b22af986)]
[scriptable, uuid(0d3bef04-a890-4dbc-8571-b8e96ff5426b)]
interface nsIDOMHTMLDocument : nsIDOMDocument
{
attribute DOMString title;

View File

@ -51,7 +51,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf9085-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(092ef5f6-3f54-468a-a1a5-ca922f8ef547)]
interface nsIDOMHTMLElement : nsIDOMElement
{
attribute DOMString id;

View File

@ -47,7 +47,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element
*/
[scriptable, uuid(123f90ab-15b3-11d2-456e-00805f8add32)]
[scriptable, uuid(6eebf0ac-b388-4942-ad83-3e43b327c360)]
interface nsIDOMHTMLEmbedElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -52,7 +52,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(58db2166-36fc-482c-a9f8-84ad262537b2)]
[scriptable, uuid(1bcb97d2-47f6-403f-ae10-65e00ad728f5)]
interface nsIDOMHTMLFieldSetElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90a7-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(a2e78525-ade0-41bb-8bf0-041a32dc467e)]
interface nsIDOMHTMLFontElement : nsIDOMHTMLElement
{
attribute DOMString color;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(0884ce23-e069-499e-a13c-a91c8ae0fc98)]
[scriptable, uuid(746363ef-0164-4868-8cf4-e6a695bd4cc7)]
interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
{
attribute DOMString name;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90b9-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(74a61421-d692-4f51-aee8-2409daebde0d)]
interface nsIDOMHTMLFrameElement : nsIDOMHTMLElement
{
attribute DOMString frameBorder;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90b8-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(dd600777-2812-4986-859a-8e9090aee1da)]
interface nsIDOMHTMLFrameSetElement : nsIDOMHTMLElement
{
attribute DOMString cols;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90a8-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(95573fb0-58eb-4740-ab11-a0e84ab67d3a)]
interface nsIDOMHTMLHRElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf9087-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(97c0fbe3-f79c-4fe3-b891-dfabcf74a614)]
interface nsIDOMHTMLHeadElement : nsIDOMHTMLElement
{
[noscript] attribute DOMString profile;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90a2-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(2f103fa6-27ae-409a-95a9-a842dd2feeba)]
interface nsIDOMHTMLHeadingElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf9086-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(3947d0f1-6b16-4bf7-a7e5-e042c5ce5975)]
interface nsIDOMHTMLHtmlElement : nsIDOMHTMLElement
{
attribute DOMString version;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90ba-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(9cad6a82-1ffe-4990-9f32-37634e2873ff)]
interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(3fc9c313-49b9-4315-b39f-7166cf362e10)]
[scriptable, uuid(e5747c9e-c805-4dfd-ae15-827a331533ba)]
interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
{
attribute DOMString alt;

View File

@ -54,7 +54,7 @@ interface nsIDOMValidityState;
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(0805059d-f18f-4095-ae6b-0bf6df80b7b8)]
[scriptable, uuid(bcf00efc-5217-4350-9fbc-e3059190830a)]
interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
{
attribute DOMString accept;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf908c-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(9d1384b5-d70c-455d-929c-f422f89fcb7e)]
interface nsIDOMHTMLIsIndexElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf909e-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(e48b4094-9858-4aff-8e83-901fae94cd60)]
interface nsIDOMHTMLLIElement : nsIDOMHTMLElement
{
attribute DOMString type;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(8a207452-e725-4a9e-beb6-9e0c0a65012c)]
[scriptable, uuid(1a36591e-2538-4685-bb23-cb80300539db)]
interface nsIDOMHTMLLabelElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf9098-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(e68756ab-a35b-41b8-b9e7-bf0c0c1fa953)]
interface nsIDOMHTMLLegendElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf9088-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(efceac0d-dc51-4c03-8658-7225c8cba4d3)]
interface nsIDOMHTMLLinkElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90af-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(dcf3850e-700e-4ef0-a67f-1e3dd9cdce9a)]
interface nsIDOMHTMLMapElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLCollection areas;

View File

@ -57,7 +57,7 @@
#endif
%}
[scriptable, uuid(91f65f50-74ea-40ea-8e26-652290738730)]
[scriptable, uuid(b1a6e147-6934-43dc-b07e-8d1b40980b90)]
interface nsIDOMHTMLMediaElement : nsIDOMHTMLElement
{
// error state

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf909d-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(df6c8120-e52e-4ea9-b49e-b83928487e75)]
interface nsIDOMHTMLMenuElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf908a-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(2cde45b3-1cc8-4a91-af52-a05ff8e78e3e)]
interface nsIDOMHTMLMetaElement : nsIDOMHTMLElement
{
attribute DOMString content;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90a9-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(9164daf4-974e-4862-b913-e0e73372df86)]
interface nsIDOMHTMLModElement : nsIDOMHTMLElement
{
attribute DOMString cite;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf909a-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(5efcd7a0-8ca1-4efa-83fa-ea8f5fd29e76)]
interface nsIDOMHTMLOListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -52,7 +52,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(9b93aab4-7fe8-4f79-9ad2-0623178a0c46)]
[scriptable, uuid(b11e44f3-c15c-494a-a89f-879fe9814cda)]
interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf9091-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(a47a2815-3115-46fb-915a-1ce3eea13a1a)]
interface nsIDOMHTMLOptGroupElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(611d00f5-1eb8-4571-b995-2a2019d2d11c)]
[scriptable, uuid(40465e21-dd35-4d8b-8d07-70a51b4fb9d1)]
interface nsIDOMHTMLOptionElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -50,7 +50,7 @@
interface nsIDOMDOMSettableTokenList;
interface nsIDOMValidityState;
[scriptable, uuid(0f7f15a9-ea72-4feb-b2b5-2fcbc9c10ab8)]
[scriptable, uuid(8c46bfd3-c4cb-4b97-b011-2c8fd2811aca)]
interface nsIDOMHTMLOutputElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMDOMSettableTokenList htmlFor;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90a1-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(4e83739e-1756-40dd-9bdf-eab1bf515239)]
interface nsIDOMHTMLParagraphElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90ad-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(3d42b355-2e24-4b2f-8221-69e7a9fe373e)]
interface nsIDOMHTMLParamElement : nsIDOMHTMLElement
{
attribute DOMString name;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90a4-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(b069f384-b2bf-4b8f-887d-427389c02e53)]
interface nsIDOMHTMLPreElement : nsIDOMHTMLElement
{
attribute long width;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90a3-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(b09051e3-a24c-4912-b6f3-a53d050e4439)]
interface nsIDOMHTMLQuoteElement : nsIDOMHTMLElement
{
attribute DOMString cite;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(4af8568c-375c-42fd-a82f-b25a7c03fc3e)]
[scriptable, uuid(8143a6fa-58f0-43fa-a300-e590fcf5f2f1)]
interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
{
attribute DOMString src;

View File

@ -53,7 +53,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(da2be32d-63de-47ae-8c81-7ab8ac6b5aae)]
[scriptable, uuid(438a6680-f9e2-4f98-875e-b6083cbe3e77)]
interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
{
attribute boolean autofocus;

View File

@ -48,7 +48,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(be281029-7dd9-4268-963e-96f5196acc19)]
[scriptable, uuid(23ab8a3e-d6e5-4ed3-8c89-7a1ac31c67f2)]
interface nsIDOMHTMLSourceElement : nsIDOMHTMLElement
{
attribute DOMString src;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf908d-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(7cfe7566-5b1b-4931-9969-3d64c4a8cee1)]
interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90b3-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(d8d86ab3-6bc2-4615-a7ee-24be42a44a46)]
interface nsIDOMHTMLTableCaptionElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90b7-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(8b44d956-4da8-4b61-a0ee-2ae6773bd2ce)]
interface nsIDOMHTMLTableCellElement : nsIDOMHTMLElement
{
readonly attribute long cellIndex;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90b4-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(3ce8cdfa-9bb0-4a42-a483-c3cb978f7864)]
interface nsIDOMHTMLTableColElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90b2-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(5287af67-bcac-4db7-8dd7-6a60cde335b0)]
interface nsIDOMHTMLTableElement : nsIDOMHTMLElement
{
// Modified in DOM Level 2:

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90b6-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(32cba7ef-5cda-49a3-b1a8-f6defb13aa4e)]
interface nsIDOMHTMLTableRowElement : nsIDOMHTMLElement
{
// Modified in DOM Level 2:

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf90b5-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(669bdaf8-f3c5-4925-a054-fbd11d63de59)]
interface nsIDOMHTMLTableSectionElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(7a403df9-8911-499b-afbf-98a1bbc20dd1)]
[scriptable, uuid(cbc46753-1e54-43cd-afc9-068501abffb9)]
interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
{
// Modified in DOM Level 2:

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf9089-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(df203632-8ff0-4435-966f-449b11ce4d48)]
interface nsIDOMHTMLTitleElement : nsIDOMHTMLElement
{
attribute DOMString text;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a6cf9099-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(ee2d4c7c-6f45-4746-8f07-67012dd41b9e)]
interface nsIDOMHTMLUListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -43,7 +43,7 @@
*
* @see <http://www.whatwg.org/html/#htmlunknownelement>
*/
[scriptable, uuid(13d29c53-a9a6-45b8-bb69-e5294bb6e09e)]
[scriptable, uuid(3ed18057-6dc0-43f4-834e-25118c840482)]
interface nsIDOMHTMLUnknownElement : nsIDOMHTMLElement
{
};

View File

@ -48,7 +48,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(e1f52aa5-9962-4019-b7b3-af3aee6e4d48)]
[scriptable, uuid(59b7aa25-7857-4f2c-a11e-ab921a76e6c7)]
interface nsIDOMHTMLVideoElement : nsIDOMHTMLMediaElement
{
attribute long width;

View File

@ -44,7 +44,7 @@
interface nsIDOMSVGAnimatedString;
[scriptable, uuid(35d3365a-3e6f-4cdf-983d-fdaed1564478)]
[scriptable, uuid(4b1c2d6b-71c2-4dd0-96fc-84c1872786ce)]
interface nsIDOMSVGAElement
: nsIDOMSVGElement
/*

View File

@ -35,7 +35,7 @@
#include "nsIDOMSVGTextPositionElem.idl"
[scriptable, uuid(b688b5fd-48b6-447c-bb20-766a9392d0d0)]
[scriptable, uuid(f624c6ea-ced6-404a-b8a0-5f67a4d86bce)]
interface nsIDOMSVGAltGlyphElement : nsIDOMSVGTextPositioningElement
/*
The SVG DOM makes use of multiple interface inheritance.

View File

@ -37,7 +37,7 @@
#include "nsIDOMSVGElement.idl"
[scriptable, uuid(8f2ccf31-5544-4a9d-8927-ef35d242039e)]
[scriptable, uuid(4e04c285-80c2-42a2-979f-3786ba42acf5)]
interface nsIDOMSVGAnimationElement
: nsIDOMSVGElement
/*

View File

@ -40,7 +40,7 @@
interface nsIDOMSVGAnimatedLength;
[scriptable, uuid(0f89f2a4-b168-4602-90f5-1874418c0a6a)]
[scriptable, uuid(db2ba352-d0b2-49fd-859e-64624ad557bc)]
interface nsIDOMSVGCircleElement
: nsIDOMSVGElement
/*

View File

@ -47,7 +47,7 @@
interface nsIDOMSVGAnimatedEnumeration;
[scriptable, uuid(0c3f45a4-e6d0-44e7-a2f8-d128ecf1db9b)]
[scriptable, uuid(3dd19de9-deee-4105-9c5c-c51c68b31326)]
interface nsIDOMSVGClipPathElement
: nsIDOMSVGElement
/*

View File

@ -38,7 +38,7 @@
#include "nsIDOMSVGElement.idl"
[scriptable, uuid(a2e86036-f04c-4013-9f74-e7090a0aac0a)]
[scriptable, uuid(649d4045-57d0-4937-a19b-e9d52e306a2b)]
interface nsIDOMSVGDefsElement
: nsIDOMSVGElement
/*

View File

@ -38,7 +38,7 @@
#include "nsIDOMSVGElement.idl"
[scriptable, uuid(56f539b7-0b3d-4bac-b60d-9efe220216ea)]
[scriptable, uuid(6c867f82-13b5-4237-a653-d4a21d5d3d0b)]
interface nsIDOMSVGDescElement
: nsIDOMSVGElement
/*

View File

@ -39,7 +39,7 @@
interface nsIDOMSVGSVGElement;
[scriptable, uuid(f9aa3be8-ab84-4e92-a50b-a7481171407a)]
[scriptable, uuid(fc52bd3f-850c-4d80-819f-5bd8321b4b59)]
interface nsIDOMSVGDocument : nsIDOMDocument
/* , nsIDOMDocumentEvent */
{

View File

@ -40,7 +40,7 @@
interface nsIDOMSVGSVGElement;
[scriptable, uuid(e0be7cbb-81c1-4663-8f95-109d96a60b6b)]
[scriptable, uuid(c358d048-be72-4d39-93dc-0e85b8c9f07b)]
interface nsIDOMSVGElement : nsIDOMElement
{
attribute DOMString id;

View File

@ -40,7 +40,7 @@
interface nsIDOMSVGAnimatedLength;
[scriptable, uuid(5D1CD1E6-4A14-4056-ACC0-2F78C1672898)]
[scriptable, uuid(2e1af4ae-5d46-4b0c-8d69-624eca05c831)]
interface nsIDOMSVGEllipseElement
: nsIDOMSVGElement
/*

View File

@ -40,7 +40,7 @@ interface nsIDOMSVGAnimatedLength;
interface nsIDOMSVGAnimatedEnumeration;
interface nsIDOMSVGAnimatedInteger;
[scriptable, uuid(9e81d4ae-190c-4b9d-a076-ebc52a7bf231)]
[scriptable, uuid(56606fdd-9b9e-4b91-a34a-9504af3139dd)]
interface nsIDOMSVGFilterElement
: nsIDOMSVGElement
/*

View File

@ -45,7 +45,7 @@ interface nsIDOMSVGAnimatedNumberList;
interface nsIDOMSVGAnimatedInteger;
interface nsIDOMSVGAnimatedBoolean;
[scriptable, uuid(ab68567a-b830-4c46-9f2f-a28513a9e980)]
[scriptable, uuid(8ec9c323-10dd-45ef-a301-4ecb9ec414dd)]
interface nsIDOMSVGFilterPrimitiveStandardAttributes : nsIDOMSVGElement
{
readonly attribute nsIDOMSVGAnimatedLength x;
@ -55,7 +55,7 @@ interface nsIDOMSVGFilterPrimitiveStandardAttributes : nsIDOMSVGElement
readonly attribute nsIDOMSVGAnimatedString result;
};
[scriptable, uuid(8F4DAF4C-DE2D-450f-A373-449AD62E3800)]
[scriptable, uuid(1644ea2b-8fdb-492d-a858-850b7bb570ed)]
interface nsIDOMSVGFEBlendElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
const unsigned short SVG_MODE_UNKNOWN = 0;
@ -70,7 +70,7 @@ interface nsIDOMSVGFEBlendElement : nsIDOMSVGFilterPrimitiveStandardAttributes
readonly attribute nsIDOMSVGAnimatedEnumeration mode;
};
[scriptable, uuid(0E966878-EBF1-4455-86FD-F4C7B1F24777)]
[scriptable, uuid(94d552df-87ea-4eaf-8618-5de29a7a9dbe)]
interface nsIDOMSVGFEColorMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Color Matrix Types
@ -85,13 +85,13 @@ interface nsIDOMSVGFEColorMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttrib
readonly attribute nsIDOMSVGAnimatedNumberList values;
};
[scriptable, uuid(4de6b44a-f909-4948-bc43-5ee2ca6de55b)]
[scriptable, uuid(2871a5c9-d4e5-420c-910c-c98fc2e8cad1)]
interface nsIDOMSVGFEComponentTransferElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
};
[scriptable, uuid(cb615c0f-8d4a-4e30-9695-a3dd6f4216ee)]
[scriptable, uuid(1620e78a-cb9d-44ad-99f3-732168a403e6)]
interface nsIDOMSVGComponentTransferFunctionElement : nsIDOMSVGElement
{
// Component Transfer Types
@ -111,7 +111,7 @@ interface nsIDOMSVGComponentTransferFunctionElement : nsIDOMSVGElement
readonly attribute nsIDOMSVGAnimatedNumber offset;
};
[scriptable, uuid(6FF3C539-1A3B-4a3f-8ACD-354D349EB7FC)]
[scriptable, uuid(12c63fba-b0f9-41ee-ad57-573650ebde89)]
interface nsIDOMSVGFECompositeElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Operator Types
@ -135,27 +135,27 @@ interface nsIDOMSVGFECompositeElement : nsIDOMSVGFilterPrimitiveStandardAttribut
};
[scriptable, uuid(85719a5d-9688-4c5f-bad5-c21847515200)]
[scriptable, uuid(f13456d1-04b9-45cb-9fbf-fc733d6a0279)]
interface nsIDOMSVGFEFuncRElement : nsIDOMSVGComponentTransferFunctionElement
{
};
[scriptable, uuid(28555e78-c6c2-4a98-af53-bfc2c6944295)]
[scriptable, uuid(05709de9-e3a9-43c1-a820-585c3f4694be)]
interface nsIDOMSVGFEFuncGElement : nsIDOMSVGComponentTransferFunctionElement
{
};
[scriptable, uuid(8b139fe7-5d21-4af3-beda-414aa089b3fb)]
[scriptable, uuid(7ed53e92-f831-4e5c-bdd4-ab769e27587e)]
interface nsIDOMSVGFEFuncBElement : nsIDOMSVGComponentTransferFunctionElement
{
};
[scriptable, uuid(fa48511c-283a-437f-9507-c309ac6f0f57)]
[scriptable, uuid(30893867-f167-4238-bec2-fb0a65cdf779)]
interface nsIDOMSVGFEFuncAElement : nsIDOMSVGComponentTransferFunctionElement
{
};
[scriptable, uuid(43ff8d42-3380-4dbd-a916-7c2daa3ed7f4)]
[scriptable, uuid(66a74ea4-5504-4a8b-9c3a-b0438615f15e)]
interface nsIDOMSVGFEGaussianBlurElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
@ -165,35 +165,35 @@ interface nsIDOMSVGFEGaussianBlurElement : nsIDOMSVGFilterPrimitiveStandardAttri
void setStdDeviation ( in float stdDeviationX, in float stdDeviationY );
};
[scriptable, uuid(b860512c-2547-4d1f-bb43-b57b54d39014)]
[scriptable, uuid(9932eb32-dee0-4848-b0a5-a6c0dfd21182)]
interface nsIDOMSVGFEMergeElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
};
[scriptable, uuid(540c3447-4b07-4bd3-84df-30f66b68df14)]
[scriptable, uuid(695a89c2-8eab-4ddd-94e7-509bf2a4f6e8)]
interface nsIDOMSVGFEMergeNodeElement : nsIDOMSVGElement {
readonly attribute nsIDOMSVGAnimatedString in1;
};
[scriptable, uuid(c080f191-b22c-4fc0-85d5-a79dc3fa7ec8)]
[scriptable, uuid(15acdbf5-6203-4167-b7c1-c746f5dd2478)]
interface nsIDOMSVGFEOffsetElement : nsIDOMSVGFilterPrimitiveStandardAttributes {
readonly attribute nsIDOMSVGAnimatedString in1;
readonly attribute nsIDOMSVGAnimatedNumber dx;
readonly attribute nsIDOMSVGAnimatedNumber dy;
};
[scriptable, uuid(2743af95-28c5-429d-9812-12b7b017887e)]
[scriptable, uuid(cf267d0d-813a-4c67-be8e-e65937afba21)]
interface nsIDOMSVGFEFloodElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
};
[scriptable, uuid(ed042a81-39fc-4c89-9385-75758a2434b5)]
[scriptable, uuid(380da0f2-f2f5-457e-a79d-7fab3da1eefb)]
interface nsIDOMSVGFETileElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
};
[scriptable, uuid(77bc4d70-0d49-4c81-b7a7-7432f0fe3e04)]
[scriptable, uuid(20d41b65-e433-4742-b9e1-08238b139285)]
interface nsIDOMSVGFETurbulenceElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Turbulence Types
@ -213,7 +213,7 @@ interface nsIDOMSVGFETurbulenceElement : nsIDOMSVGFilterPrimitiveStandardAttribu
readonly attribute nsIDOMSVGAnimatedEnumeration type;
};
[scriptable, uuid(16154319-FB5F-4473-B360-5065B6096D33)]
[scriptable, uuid(83508db0-be38-4929-8e91-7cfddb921f4a)]
interface nsIDOMSVGFEMorphologyElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Operator Types
@ -229,7 +229,7 @@ interface nsIDOMSVGFEMorphologyElement : nsIDOMSVGFilterPrimitiveStandardAttribu
void setRadius ( in float rx, in float ry );
};
[scriptable, uuid(42109b58-a8c1-4078-b44c-ec1d5d6b9574)]
[scriptable, uuid(5232e1f6-6845-4c29-9677-93852228ab2f)]
interface nsIDOMSVGFEConvolveMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Edge Mode Values
@ -252,7 +252,7 @@ interface nsIDOMSVGFEConvolveMatrixElement : nsIDOMSVGFilterPrimitiveStandardAtt
readonly attribute nsIDOMSVGAnimatedBoolean preserveAlpha;
};
[scriptable, uuid(2e9eb422-2398-4be9-a9b8-b1cc7aa9dd6f)]
[scriptable, uuid(3834f5f7-bb9b-4ba4-9de5-6b12bca6fb46)]
interface nsIDOMSVGFEDiffuseLightingElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
@ -262,7 +262,7 @@ interface nsIDOMSVGFEDiffuseLightingElement : nsIDOMSVGFilterPrimitiveStandardA
readonly attribute nsIDOMSVGAnimatedNumber kernelUnitLengthY;
};
[scriptable, uuid(49c38287-a7c2-4895-a630-86d2b45df23c)]
[scriptable, uuid(3e60f5df-f77a-4fe2-bcad-881865cfc21f)]
interface nsIDOMSVGFESpecularLightingElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
readonly attribute nsIDOMSVGAnimatedString in1;
@ -298,7 +298,7 @@ interface nsIDOMSVGFESpotLightElement : nsIDOMSVGElement {
readonly attribute nsIDOMSVGAnimatedNumber limitingConeAngle;
};
[scriptable, uuid(3250f5c9-9c76-4e77-96d8-5f0cc85f41c4)]
[scriptable, uuid(d36089cf-ade0-48e8-9540-40ee35838f88)]
interface nsIDOMSVGFEImageElement : nsIDOMSVGFilterPrimitiveStandardAttributes
/*
nsIDOMSVGURIReference,
@ -308,7 +308,7 @@ interface nsIDOMSVGFEImageElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
};
[scriptable, uuid(80e1ea9c-eff3-490a-8c98-918963d2e7e9)]
[scriptable, uuid(821533e9-9da9-4ea4-8d53-5fb9170fa952)]
interface nsIDOMSVGFEDisplacementMapElement : nsIDOMSVGFilterPrimitiveStandardAttributes
{
// Channel Selectors

View File

@ -40,7 +40,7 @@
interface nsIDOMSVGAnimatedLength;
[scriptable, uuid(fd9c9871-23fd-48eb-a65b-3842e9b0acbd)]
[scriptable, uuid(a093460b-e3d0-4914-aa60-a4b31aa53276)]
interface nsIDOMSVGForeignObjectElement
: nsIDOMSVGElement
/*

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