Merge m-c to b-s.

This commit is contained in:
Kyle Huey 2011-09-14 08:45:54 -07:00
commit a9fd5acf9f
310 changed files with 2269 additions and 1057 deletions

View File

@ -7,6 +7,10 @@
(^|/)ID$
(^|/)\.DS_Store$
# Vim swap files.
^\.sw.$
.[^/]*\.sw.$
# User files that may appear at the root
^\.mozconfig
^mozconfig$

View File

@ -41,6 +41,7 @@
#include "AccEvent.h"
#include "nsCycleCollectionParticipant.h"
#include "nsRefreshDriver.h"
class nsAccessible;
class nsDocAccessible;

View File

@ -308,7 +308,7 @@ pref("browser.urlbar.trimURLs", true);
// the Content-Disposition filename) before giving up and falling back to
// picking a filename without that info in hand so that the user sees some
// feedback from their action.
pref("browser.download.saveLinkAsFilenameTimeout", 1000);
pref("browser.download.saveLinkAsFilenameTimeout", 4000);
pref("browser.download.useDownloadDir", true);

View File

@ -321,10 +321,8 @@ nsContextMenu.prototype = {
var onMisspelling = InlineSpellCheckerUI.overMisspelling;
this.showItem("spell-check-enabled", canSpell);
this.showItem("spell-separator", canSpell || this.onEditableArea);
if (canSpell) {
document.getElementById("spell-check-enabled")
.setAttribute("checked", InlineSpellCheckerUI.enabled);
}
document.getElementById("spell-check-enabled")
.setAttribute("checked", canSpell && InlineSpellCheckerUI.enabled);
this.showItem("spell-add-to-dictionary", onMisspelling);

View File

@ -148,7 +148,7 @@
oncommand="gMainPane.setHomePageToCurrent();"
id="useCurrent"
preference="pref.browser.homepage.disable_button.current_page"/>
<button label="&useBookmark.label;" accesskey="&useBookmark.accesskey;"
<button label="&chooseBookmark.label;" accesskey="&chooseBookmark.accesskey;"
oncommand="gMainPane.setHomePageToBookmark();"
id="useBookmark"
preference="pref.browser.homepage.disable_button.bookmark_page"/>

View File

@ -13,8 +13,8 @@
<!ENTITY useCurrentPage.label "Use Current Page">
<!ENTITY useCurrentPage.accesskey "C">
<!ENTITY useMultiple.label "Use Current Pages">
<!ENTITY useBookmark.label "Use Bookmark">
<!ENTITY useBookmark.accesskey "B">
<!ENTITY chooseBookmark.label "Use Bookmark…">
<!ENTITY chooseBookmark.accesskey "B">
<!ENTITY restoreDefault.label "Restore to Default">
<!ENTITY restoreDefault.accesskey "R">

View File

@ -295,6 +295,28 @@ case "$target" in
if test -z "$android_sdk" ; then
AC_MSG_ERROR([You must specify --with-android-sdk=/path/to/sdk when targeting Android.])
else
if ! test -e "$android_sdk"/source.properties ; then
AC_MSG_ERROR([The path in --with-android-sdk isn't valid (source.properties hasn't been found).])
fi
# Minimum Android SDK API Level we require.
android_min_api_level=13
# Get the api level from "$android_sdk"/source.properties.
android_api_level=`$AWK -F = '$1 == "AndroidVersion.ApiLevel" {print $2}' "$android_sdk"/source.properties`
if test -z "$android_api_level" ; then
AC_MSG_ERROR([Unexpected error: no AndroidVersion.ApiLevel field has been found in source.properties.])
fi
if ! test "$android_api_level" -eq "$android_api_level" ; then
AC_MSG_ERROR([Unexpected error: the found android api value isn't a number! (found $android_api_level)])
fi
if test $android_api_level -lt $android_min_api_level ; then
AC_MSG_ERROR([The given Android SDK provides API level $android_api_level ($android_min_api_level or higher required).])
fi
fi
android_platform_tools="$android_sdk"/../../platform-tools

View File

@ -55,6 +55,7 @@ class nsIContent;
class nsIDocument;
class nsIDOMEvent;
class nsIDOMNode;
class nsIDOMElement;
class nsIDOMNodeList;
class nsINodeList;
class nsIPresShell;
@ -707,6 +708,15 @@ public:
{
return mParent;
}
/**
* Get the parent nsINode for this node if it is an Element.
* @return the parent node
*/
nsINode* GetElementParent() const
{
return mParent && mParent->IsElement() ? mParent : nsnull;
}
/**
* See nsIDOMEventTarget
@ -1283,6 +1293,7 @@ protected:
#endif
nsresult GetParentNode(nsIDOMNode** aParentNode);
nsresult GetParentElement(nsIDOMElement** aParentElement);
nsresult GetChildNodes(nsIDOMNodeList** aChildNodes);
nsresult GetFirstChild(nsIDOMNode** aFirstChild);
nsresult GetLastChild(nsIDOMNode** aLastChild);

View File

@ -363,6 +363,13 @@ nsDOMAttribute::GetParentNode(nsIDOMNode** aParentNode)
return NS_OK;
}
NS_IMETHODIMP
nsDOMAttribute::GetParentElement(nsIDOMElement** aParentElement)
{
*aParentElement = nsnull;
return NS_OK;
}
NS_IMETHODIMP
nsDOMAttribute::GetChildNodes(nsIDOMNodeList** aChildNodes)
{

View File

@ -5669,6 +5669,13 @@ nsDocument::GetParentNode(nsIDOMNode** aParentNode)
return NS_OK;
}
NS_IMETHODIMP
nsDocument::GetParentElement(nsIDOMElement** aParentElement)
{
*aParentElement = nsnull;
return NS_OK;
}
NS_IMETHODIMP
nsDocument::GetChildNodes(nsIDOMNodeList** aChildNodes)
{

View File

@ -434,6 +434,14 @@ nsINode::GetParentNode(nsIDOMNode** aParentNode)
return parent ? CallQueryInterface(parent, aParentNode) : NS_OK;
}
nsresult
nsINode::GetParentElement(nsIDOMElement** aParentElement)
{
*aParentElement = nsnull;
nsINode* parent = GetElementParent();
return parent ? CallQueryInterface(parent, aParentElement) : NS_OK;
}
nsresult
nsINode::GetChildNodes(nsIDOMNodeList** aChildNodes)
{

View File

@ -509,6 +509,7 @@ _TEST_FILES2 = \
test_bug682592.html \
bug682592-subframe.html \
bug682592-subframe-ref.html \
test_bug685798.html \
$(NULL)
_CHROME_FILES = \

View File

@ -0,0 +1,45 @@
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=685798
-->
<head>
<title>Test for Bug 685798</title>
<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=685798">Mozilla Bug 685798</a>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script type="application/javascript">
/** Test for Bug 685798 **/
is(document.parentElement, null,
"Document shouldn't have parentElement.");
is(document.documentElement.parentElement, null,
"DocumentElement shouldn't have parentElement.");
is(document.documentElement.firstChild.parentElement, document.documentElement,
"DocumentElement's child should have DocumentElement as parent.");
var df = document.createRange().createContextualFragment("<div>foo</div>");
is(df.parentElement, null,
"DocumentFragment should be null.");
is(df.firstChild.parentElement, null,
"DocumentFragment's child shouldn't have parentElement");
is(df.firstChild.firstChild.parentElement, df.firstChild,
"Text node's parent should be element.");
is(document.createTextNode("foo").parentElement, null,
"Text node shouldn't have parent element.");
</script>
</pre>
</body>
</html>

View File

@ -498,7 +498,7 @@ txCompileObserver::startLoad(nsIURI* aUri, txStylesheetCompiler* aCompiler,
nsCOMPtr<nsIHttpChannel> httpChannel(do_QueryInterface(channel));
if (httpChannel) {
httpChannel->SetRequestHeader(NS_LITERAL_CSTRING("Accept"),
NS_LITERAL_CSTRING("text/xml,application/xml,application/xhtml+xml,application/xslt+xml,*/*;q=0.1"),
NS_LITERAL_CSTRING("*/*"),
PR_FALSE);
nsCOMPtr<nsIURI> referrerURI;

View File

@ -84,7 +84,7 @@ using namespace mozilla;
// on win32 and os/2, context menus come up on mouse up. On other platforms,
// they appear on mouse down. Certain bits of code care about this difference.
#if !defined(XP_WIN) && !defined(XP_OS2)
#if defined(XP_WIN) || defined(XP_OS2)
#define NS_CONTEXT_MENU_IS_MOUSEUP 1
#endif

View File

@ -916,6 +916,8 @@ static const char js_profiling_content_str[] = JS_OPTIONS_DOT_STR "jitprofiling
static const char js_profiling_chrome_str[] = JS_OPTIONS_DOT_STR "jitprofiling.chrome";
static const char js_methodjit_always_str[] = JS_OPTIONS_DOT_STR "methodjit_always";
static const char js_typeinfer_str[] = JS_OPTIONS_DOT_STR "typeinference";
static const char js_pccounts_content_str[] = JS_OPTIONS_DOT_STR "pccounts.content";
static const char js_pccounts_chrome_str[] = JS_OPTIONS_DOT_STR "pccounts.chrome";
static const char js_memlog_option_str[] = JS_OPTIONS_DOT_STR "mem.log";
int
@ -947,6 +949,9 @@ nsJSContext::JSOptionChangedCallback(const char *pref, void *data)
PRBool useProfiling = Preferences::GetBool(chromeWindow ?
js_profiling_chrome_str :
js_profiling_content_str);
PRBool usePCCounts = Preferences::GetBool(chromeWindow ?
js_pccounts_chrome_str :
js_pccounts_content_str);
PRBool useMethodJITAlways = Preferences::GetBool(js_methodjit_always_str);
PRBool useTypeInference = !chromeWindow && Preferences::GetBool(js_typeinfer_str);
nsCOMPtr<nsIXULRuntime> xr = do_GetService(XULRUNTIME_SERVICE_CONTRACTID);
@ -957,6 +962,7 @@ nsJSContext::JSOptionChangedCallback(const char *pref, void *data)
useTraceJIT = PR_FALSE;
useMethodJIT = PR_FALSE;
useProfiling = PR_FALSE;
usePCCounts = PR_FALSE;
useTypeInference = PR_FALSE;
useMethodJITAlways = PR_TRUE;
}
@ -977,6 +983,11 @@ nsJSContext::JSOptionChangedCallback(const char *pref, void *data)
else
newDefaultJSOptions &= ~JSOPTION_PROFILING;
if (usePCCounts)
newDefaultJSOptions |= JSOPTION_PCCOUNT;
else
newDefaultJSOptions &= ~JSOPTION_PCCOUNT;
if (useMethodJITAlways)
newDefaultJSOptions |= JSOPTION_METHODJIT_ALWAYS;
else

View File

@ -48,7 +48,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(6bdedbc5-681e-4570-a3dc-3685ed8d6e1e)]
[scriptable, uuid(03da4bc9-1b9a-41dc-a1a4-32414d48d704)]
interface nsIDOMAttr : nsIDOMNode
{
readonly attribute DOMString name;

View File

@ -49,7 +49,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(f1eea89d-8af3-4c2a-90df-6c3a75cb5005)]
[scriptable, uuid(08a05c75-23de-4937-a45b-89bdcbe4f467)]
interface nsIDOMCDATASection : nsIDOMText
{
};

View File

@ -47,7 +47,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(6ce64178-d600-4e5e-a33a-5bde69f05bd5)]
[scriptable, uuid(cb75c251-afc7-444f-b2d6-b9635555f3ed)]
interface nsIDOMCharacterData : nsIDOMNode
{
attribute DOMString data;

View File

@ -48,7 +48,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(eaf04950-d409-41a0-a99d-2e4e43c1e33d)]
[scriptable, uuid(cea49a35-dac9-4c4d-9830-4660abb3b6bc)]
interface nsIDOMComment : nsIDOMCharacterData
{
};

View File

@ -63,7 +63,7 @@ interface nsIDOMCaretPosition;
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(903493d3-72b6-4416-b930-fbfc17ef1d87)]
[scriptable, uuid(48ef69c6-844f-41ba-af66-17b338177a8b)]
interface nsIDOMDocument : nsIDOMNode
{
readonly attribute nsIDOMDocumentType doctype;

View File

@ -48,7 +48,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(06376ec5-7c91-45ad-a346-30a06a125935)]
[scriptable, uuid(4a15eb0c-d5bc-4902-9d50-21b12cab47e7)]
interface nsIDOMDocumentFragment : nsIDOMNode
{
};

View File

@ -49,7 +49,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(bfd028d4-fbbd-4d69-8899-dbee1778dde2)]
[scriptable, uuid(ac5fd4c5-6c5d-4dfc-878c-7d661aa676de)]
interface nsIDOMDocumentType : nsIDOMNode
{
readonly attribute DOMString name;

View File

@ -47,7 +47,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(f220e259-5c41-4cca-a38b-7267ffa874aa)]
[scriptable, uuid(56aaaf03-f8f1-4c06-9cb5-f3e33a39e5c3)]
interface nsIDOMElement : nsIDOMNode
{
readonly attribute DOMString tagName;

View File

@ -52,7 +52,7 @@ interface nsIDOMUserDataHandler;
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(af9b19f7-7c88-4d16-9a3a-97390f824c58)]
[scriptable, uuid(c8ac3f81-63e1-4c31-8543-70a656642789)]
interface nsIDOMNode : nsISupports
{
const unsigned short ELEMENT_NODE = 1;
@ -74,6 +74,7 @@ interface nsIDOMNode : nsISupports
// raises(DOMException) on retrieval
readonly attribute unsigned short nodeType;
readonly attribute nsIDOMNode parentNode;
readonly attribute nsIDOMElement parentElement;
readonly attribute nsIDOMNodeList childNodes;
readonly attribute nsIDOMNode firstChild;
readonly attribute nsIDOMNode lastChild;

View File

@ -48,7 +48,7 @@
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
[scriptable, uuid(1c3118cc-4d21-40cc-96c4-9d46facee5d1)]
[scriptable, uuid(5964f639-1183-487d-a87d-4c93111eae85)]
interface nsIDOMProcessingInstruction : nsIDOMNode
{
readonly attribute DOMString target;

View File

@ -47,7 +47,7 @@
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
[scriptable, uuid(04a1ec2b-491f-4a80-8db4-694c37e31a6f)]
[scriptable, uuid(92b0df87-78a1-4e3b-a23c-d0c5bb2b83f9)]
interface nsIDOMText : nsIDOMCharacterData
{
nsIDOMText splitText(in unsigned long offset)

View File

@ -38,7 +38,7 @@
#include "nsIDOMDocument.idl"
[scriptable, uuid(f97b36ff-425f-4c87-b6dc-fcfcfb4d5c77)]
[scriptable, uuid(e788e37b-9a89-4b3e-9593-c598e50695eb)]
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(768bfb39-f0ce-4f17-bad7-f0f722dc293a)]
[scriptable, uuid(dfcf9a0b-2bc4-465b-b007-9c0e26aabc17)]
interface nsIDOMHTMLAnchorElement : nsIDOMHTMLElement
{
attribute DOMString href;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(1840a15d-618e-4e22-a53e-56a3624b8ae3)]
[scriptable, uuid(fe7107a3-d8ea-4ef5-a5b0-c358767ca243)]
interface nsIDOMHTMLAppletElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(eeae849e-d9f6-4e66-a838-44deb9594bc1)]
[scriptable, uuid(59e6d277-5468-4ff2-bc98-adecaf4e0aa8)]
interface nsIDOMHTMLAreaElement : nsIDOMHTMLElement
{
attribute DOMString alt;

View File

@ -52,7 +52,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(f0d4977c-9632-4fab-bc9b-91c250a6ef96)]
[scriptable, uuid(4b832a46-8c9d-4dda-aaa3-8ebeece2b13a)]
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(e8252870-aa63-4eaf-9d59-5e5ea014fdf3)]
[scriptable, uuid(a348b00a-7e0e-4f61-97f8-9798d1c73971)]
interface nsIDOMHTMLBRElement : nsIDOMHTMLElement
{
attribute DOMString clear;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(84ee3ce6-ea9c-4443-93a2-359c259ef218)]
[scriptable, uuid(7549715a-0931-4fbd-a0b9-5a99f7a8d7f1)]
interface nsIDOMHTMLBaseElement : nsIDOMHTMLElement
{
attribute DOMString href;

View File

@ -54,7 +54,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(9569e420-137a-4c7e-a880-288a81f78308)]
[scriptable, uuid(6954f803-fc81-4300-bcad-e0854ef9a142)]
interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement
{
attribute DOMString aLink;

View File

@ -52,7 +52,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(7a40902e-d0ce-41f2-bc46-e247e9662ea8)]
[scriptable, uuid(a7740abf-dbef-4a5e-a8a8-be5809c5d851)]
interface nsIDOMHTMLButtonElement : nsIDOMHTMLElement
{
attribute boolean autofocus;

View File

@ -55,7 +55,7 @@
interface nsIDOMFile;
interface nsIVariant;
[scriptable, uuid(010d8e6f-86ba-47ad-a04f-1a4d75f1caf8)]
[scriptable, uuid(b00ad90f-b83a-400d-87b8-704503a65061)]
interface nsIDOMHTMLCanvasElement : nsIDOMHTMLElement
{
attribute unsigned long width;

View File

@ -46,7 +46,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(df4a19b4-81f1-412e-a971-fcbe7312a9b6)]
[scriptable, uuid(c09f7b23-199c-4e5e-a8c1-48640725b8a2)]
interface nsIDOMHTMLCommandElement : nsIDOMHTMLElement
{
attribute DOMString type;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(8c2e26d3-8ed4-4e13-abc8-46d7d2f7d300)]
[scriptable, uuid(fe0a4ba1-99d4-4a22-87ad-f9f5e5ebc0b4)]
interface nsIDOMHTMLDListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -49,7 +49,7 @@
interface nsIDOMHTMLCollection;
[scriptable, uuid(11dacc1f-4abc-44a5-9c57-c0c3e833e387)]
[scriptable, uuid(0ed2f7db-83ed-44a9-aeca-4995d0a39898)]
interface nsIDOMHTMLDataListElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLCollection options;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(3531a90c-cd39-4619-abad-71a961a58c54)]
[scriptable, uuid(a7ce62d2-7b08-4289-a044-2aa568f03c75)]
interface nsIDOMHTMLDirectoryElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(616223f7-014d-4805-b524-ad6cf8536ac0)]
[scriptable, uuid(2a2bbe83-9faf-460b-8fbe-e37630c6ca7f)]
interface nsIDOMHTMLDivElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -47,7 +47,7 @@
*/
interface nsISelection;
[scriptable, uuid(efe95e19-f5df-4349-89fb-804ba016f0a2)]
[scriptable, uuid(7587ce39-e939-4b86-838d-a1d04e4e04c0)]
interface nsIDOMHTMLDocument : nsIDOMDocument
{
readonly attribute DOMString URL;

View File

@ -51,7 +51,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(c6e10ab6-ecf4-48e4-aeaa-37724307dfd5)]
[scriptable, uuid(6ecb115c-8a7b-495b-958e-2ef5d8a50244)]
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(dec16079-b0e7-46b9-aafa-c7f0ebc9abc1)]
[scriptable, uuid(b93fec38-9436-49c2-95ec-77cf1de8c38f)]
interface nsIDOMHTMLEmbedElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -52,7 +52,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(c989a733-40a6-4712-b0f0-944dd5ec4344)]
[scriptable, uuid(95fce971-83b5-4f03-9dfd-4ef07306fa2a)]
interface nsIDOMHTMLFieldSetElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(99875201-4f50-4e8a-a58e-dd39b9ff51e1)]
[scriptable, uuid(e6b3c397-8227-4de2-bd7f-cd59aef8af9b)]
interface nsIDOMHTMLFontElement : nsIDOMHTMLElement
{
attribute DOMString color;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(b7892cbf-a23b-460a-817a-798d490b12df)]
[scriptable, uuid(7b859d90-6b01-4208-8922-7999653c7491)]
interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
{
attribute DOMString acceptCharset;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(e3f42587-847f-4743-8891-490b2066493d)]
[scriptable, uuid(c5e51cd2-f862-4440-90da-dee5bf84cc2e)]
interface nsIDOMHTMLFrameElement : nsIDOMHTMLElement
{
attribute DOMString frameBorder;

View File

@ -54,7 +54,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(d6872633-0f1c-4110-bf49-88713a3cad86)]
[scriptable, uuid(0d6d7deb-4e8b-40fc-acf0-5f0f862d20e6)]
interface nsIDOMHTMLFrameSetElement : nsIDOMHTMLElement
{
attribute DOMString cols;

View File

@ -51,7 +51,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(32342e24-b209-4f50-8518-f7af339d4ae2)]
[scriptable, uuid(48d708c2-48ef-42c3-9101-8b2a68e42ace)]
interface nsIDOMHTMLHRElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(1be0672a-edfd-49b8-81e3-e68641029133)]
[scriptable, uuid(5e62e47c-264e-47b4-aa8c-84a1d37238b9)]
interface nsIDOMHTMLHeadElement : nsIDOMHTMLElement
{
};

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(0515a456-2545-4865-9a5b-f744a8e16101)]
[scriptable, uuid(c8fe0b12-e8c2-45ab-9831-fae7c54ba4cb)]
interface nsIDOMHTMLHeadingElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(a8500f4c-3314-4049-bb79-f782663e7273)]
[scriptable, uuid(eaee35a4-12af-4db2-8177-131ee690baa0)]
interface nsIDOMHTMLHtmlElement : nsIDOMHTMLElement
{
attribute DOMString version;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(31969911-36fb-42ee-9a00-018c3ff78cfb)]
[scriptable, uuid(1c4174d0-8e24-407a-b527-fb78c23c801f)]
interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(ce760602-0528-493d-966d-65d4ee52347d)]
[scriptable, uuid(db167ea6-b7f6-4eb3-aa34-705f436f8525)]
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(66819eba-89b5-4db4-8d27-6368c70761e8)]
[scriptable, uuid(90fa1822-deca-4732-bc50-0b5393ffd129)]
interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
{
attribute DOMString accept;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(9c31bd99-1412-49a2-954c-6c1be575decc)]
[scriptable, uuid(cfc33c89-1a7e-4798-a09a-73d28073c1f7)]
interface nsIDOMHTMLLIElement : nsIDOMHTMLElement
{
attribute DOMString type;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(0b4f3766-e6e8-4578-9d4e-f1fb4861c956)]
[scriptable, uuid(3581e396-92ba-4696-83b4-e633de8fec00)]
interface nsIDOMHTMLLabelElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(d84fcdd0-5962-42aa-ab83-dc92321553aa)]
[scriptable, uuid(e32bab6d-2640-47df-8053-803bb29c69ec)]
interface nsIDOMHTMLLegendElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(b60dc7dd-30d1-40aa-a306-02a2ebb30f12)]
[scriptable, uuid(442dddcc-cdc3-4385-946d-9d6b8b4eb927)]
interface nsIDOMHTMLLinkElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(1fe0dac9-564d-4f20-9933-e77bef7853cc)]
[scriptable, uuid(0ca121ce-2e78-4c13-8fd3-fea07a1a9225)]
interface nsIDOMHTMLMapElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLCollection areas;

View File

@ -57,7 +57,7 @@
#endif
%}
[scriptable, uuid(16b81ded-30cb-427d-831d-1635dc68d346)]
[scriptable, uuid(1b38c0a1-e532-41f1-9ec8-c76236d42cb7)]
interface nsIDOMHTMLMediaElement : nsIDOMHTMLElement
{
// error state

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(43aa6818-f67f-420c-a400-59a2668e9fe5)]
[scriptable, uuid(a9dce2dd-e46a-4e34-ab54-84ed2b4ea338)]
interface nsIDOMHTMLMenuElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -43,7 +43,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(613f28ee-01f5-42dc-8224-161f85f0f20b)]
[scriptable, uuid(eb28f8a2-047c-4317-bb96-a8c3b8b2047f)]
interface nsIDOMHTMLMenuItemElement : nsIDOMHTMLCommandElement
{
};

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(43232acb-397c-46ce-8cd7-7fb2c286e851)]
[scriptable, uuid(9f576967-dfaf-4651-920c-3890bde7629a)]
interface nsIDOMHTMLMetaElement : nsIDOMHTMLElement
{
attribute DOMString content;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(9ee75a83-0acb-42e4-8fe7-dac88fcec547)]
[scriptable, uuid(19d1a727-9a87-4f3a-985b-15fc7eb99634)]
interface nsIDOMHTMLModElement : nsIDOMHTMLElement
{
attribute DOMString cite;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(e0bc10a7-46c7-4d6a-99a7-621827594efe)]
[scriptable, uuid(c162aed0-002d-438b-8fe4-c25043be33f3)]
interface nsIDOMHTMLOListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -52,7 +52,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(700d3c7b-cbc2-4ab4-9aa3-fedd0b09fe89)]
[scriptable, uuid(f4778b38-f925-4c30-8c4d-9d73e28d74f0)]
interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMHTMLFormElement form;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(98694f29-5a2a-4da3-8a0f-3351bafe1fea)]
[scriptable, uuid(4cfc7664-e974-4f80-bb71-5a9878324ff3)]
interface nsIDOMHTMLOptGroupElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(f289fdb9-fe0f-41d3-bbdb-5c4e21f0a4d2)]
[scriptable, uuid(a36a1710-7684-4fb7-a401-ccbf442064c1)]
interface nsIDOMHTMLOptionElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -50,7 +50,7 @@
interface nsIDOMDOMSettableTokenList;
interface nsIDOMValidityState;
[scriptable, uuid(546ce012-e7ce-4490-8530-75f2b1b135b6)]
[scriptable, uuid(a930fee7-dd3a-4d57-9ea7-79cfba343fde)]
interface nsIDOMHTMLOutputElement : nsIDOMHTMLElement
{
readonly attribute nsIDOMDOMSettableTokenList htmlFor;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(7a324f4d-c264-4978-9d0c-5fdaac33a3ee)]
[scriptable, uuid(fcc41020-196a-49c4-a73b-b38cbe7c0a8b)]
interface nsIDOMHTMLParagraphElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(20ac93e9-4ac8-40b0-a1f3-38948f6ca6ab)]
[scriptable, uuid(e7e2ac93-7a44-4c9d-bf4a-4b7231b6e9a8)]
interface nsIDOMHTMLParamElement : nsIDOMHTMLElement
{
attribute DOMString name;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(3459e9d4-40a0-4b55-a018-db287561feab)]
[scriptable, uuid(ae2ae9b9-86f1-4230-88dc-3317bcb8a375)]
interface nsIDOMHTMLPreElement : nsIDOMHTMLElement
{
attribute long width;

View File

@ -47,7 +47,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(d14250f5-3176-4244-8085-1d0a532ce44c)]
[scriptable, uuid(80f0f2f7-d1f0-457f-b80f-f6d78c8efafc)]
interface nsIDOMHTMLProgressElement : nsIDOMHTMLElement
{
attribute double value;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(c9c87e61-dc16-47b9-acdd-641dd220557b)]
[scriptable, uuid(6b53a7c3-8c6e-4a7d-80ac-5241ce8b62f6)]
interface nsIDOMHTMLQuoteElement : nsIDOMHTMLElement
{
attribute DOMString cite;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(c623ecc4-381b-4fa7-9016-a29f0a06230b)]
[scriptable, uuid(9956c866-08da-45f6-bf9e-6b5d09ce879d)]
interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
{
attribute DOMString src;

View File

@ -53,7 +53,7 @@
interface nsIDOMValidityState;
[scriptable, uuid(069bc0d8-d16d-406a-8555-2f84384c9b3b)]
[scriptable, uuid(f6e68b8c-58cf-49dd-8d70-de8768ac5bac)]
interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
{
attribute boolean autofocus;

View File

@ -48,7 +48,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(ee69ccd4-5216-46cc-bfb4-b612d197ce29)]
[scriptable, uuid(d2c8c680-d3e7-4306-bced-4cddcbae4485)]
interface nsIDOMHTMLSourceElement : nsIDOMHTMLElement
{
attribute DOMString src;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(675aff34-07c5-491f-b92f-ccaf616ef8b3)]
[scriptable, uuid(f456b94c-d1e5-454e-99f1-30099d91c965)]
interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
{
attribute boolean disabled;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(0e843cc7-ff12-49b5-8c8d-939dc5b66b6b)]
[scriptable, uuid(2e8ef4c4-b34b-48ad-937b-9c9a219fa19f)]
interface nsIDOMHTMLTableCaptionElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(042957a7-8680-4ed4-9a45-40108e73701b)]
[scriptable, uuid(a3a038e3-9c6e-4a27-bdec-8bfcb968fd94)]
interface nsIDOMHTMLTableCellElement : nsIDOMHTMLElement
{
readonly attribute long cellIndex;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(b0c8daa0-6b74-4436-b1ca-2de5d6d3fe33)]
[scriptable, uuid(1baa218e-f772-492c-a286-7c3680e221b3)]
interface nsIDOMHTMLTableColElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(1927df94-db16-4e28-a491-4279eccc539d)]
[scriptable, uuid(b5211d09-aeec-4dca-a676-c7d4376ab115)]
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(0f614ba0-5ee1-494b-ade8-14c29f416798)]
[scriptable, uuid(637b44fe-229c-4a72-a9e9-ccdb265821ed)]
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(76400ad3-725a-45c1-bb98-5a6cdb91af11)]
[scriptable, uuid(698f916c-329e-4aa4-8007-0e1ea708fd8d)]
interface nsIDOMHTMLTableSectionElement : nsIDOMHTMLElement
{
attribute DOMString align;

View File

@ -53,7 +53,7 @@ interface nsIDOMValidityState;
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(43e99aee-e41f-4935-a87d-f2dbafdbfddb)]
[scriptable, uuid(3fa5ddd0-060e-4de7-835d-0c02cb3f6e79)]
interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
{
attribute boolean autofocus;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(487748c0-31c0-4985-93c6-588b64f8ed2d)]
[scriptable, uuid(77e6df52-a4b5-4113-b293-fbceb1be718d)]
interface nsIDOMHTMLTitleElement : nsIDOMHTMLElement
{
attribute DOMString text;

View File

@ -50,7 +50,7 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(49610fd6-bf9e-4a13-beb3-09ac74540077)]
[scriptable, uuid(8a64c035-b4aa-4b6c-b907-eba752e754e3)]
interface nsIDOMHTMLUListElement : nsIDOMHTMLElement
{
attribute boolean compact;

View File

@ -43,7 +43,7 @@
*
* @see <http://www.whatwg.org/html/#htmlunknownelement>
*/
[scriptable, uuid(9d094117-9937-4ae4-a325-1761d7a9f3bc)]
[scriptable, uuid(45dfc97e-4ade-41be-b83e-5074003c042c)]
interface nsIDOMHTMLUnknownElement : nsIDOMHTMLElement
{
};

View File

@ -48,7 +48,7 @@
* @status UNDER_DEVELOPMENT
*/
[scriptable, uuid(00c757ec-db7b-477e-95cd-b2a03b0f8634)]
[scriptable, uuid(bebdbca4-05be-480a-bfb9-949fc7ff793f)]
interface nsIDOMHTMLVideoElement : nsIDOMHTMLMediaElement
{
attribute long width;

View File

@ -44,7 +44,7 @@
interface nsIDOMSVGAnimatedString;
[scriptable, uuid(4b1c2d6b-71c2-4dd0-96fc-84c1872786ce)]
[scriptable, uuid(139491ec-3bc2-490e-bce6-ec1b1b5aeaf9)]
interface nsIDOMSVGAElement
: nsIDOMSVGElement
/*

View File

@ -35,7 +35,7 @@
#include "nsIDOMSVGTextPositionElem.idl"
[scriptable, uuid(f624c6ea-ced6-404a-b8a0-5f67a4d86bce)]
[scriptable, uuid(9cfd33f4-0720-4e9f-977e-7a1fe72d23c9)]
interface nsIDOMSVGAltGlyphElement : nsIDOMSVGTextPositioningElement
/*
The SVG DOM makes use of multiple interface inheritance.

View File

@ -37,5 +37,5 @@
#include "nsIDOMSVGAnimationElement.idl"
[scriptable, uuid(0c4297e8-68d0-471d-a933-64132ccc5b97)]
[scriptable, uuid(fb2484e8-3d50-471b-87dd-3aa70a436b71)]
interface nsIDOMSVGAnimateElement : nsIDOMSVGAnimationElement {};

View File

@ -37,5 +37,5 @@
#include "nsIDOMSVGAnimationElement.idl"
[scriptable, uuid(8ac8b152-a44f-4456-bda5-b004f8148a93)]
[scriptable, uuid(2216f319-1bea-489c-b025-2e1f5217f0cd)]
interface nsIDOMSVGAnimateMotionElement : nsIDOMSVGAnimationElement { };

View File

@ -37,5 +37,5 @@
#include "nsIDOMSVGAnimationElement.idl"
[scriptable, uuid(735e0f75-c6aa-4aee-bcd2-46426d6ac90c)]
[scriptable, uuid(381c61a0-3af4-46be-99c4-db5253efccd9)]
interface nsIDOMSVGAnimateTransformElement : nsIDOMSVGAnimationElement {};

View File

@ -37,7 +37,7 @@
#include "nsIDOMSVGElement.idl"
[scriptable, uuid(4e04c285-80c2-42a2-979f-3786ba42acf5)]
[scriptable, uuid(ed76a4bc-7817-4724-b89c-1a06ca36dc08)]
interface nsIDOMSVGAnimationElement
: nsIDOMSVGElement
/*

View File

@ -40,7 +40,7 @@
interface nsIDOMSVGAnimatedLength;
[scriptable, uuid(db2ba352-d0b2-49fd-859e-64624ad557bc)]
[scriptable, uuid(eea07241-beed-442e-ba0d-9a8f534a70e8)]
interface nsIDOMSVGCircleElement
: nsIDOMSVGElement
/*

View File

@ -47,7 +47,7 @@
interface nsIDOMSVGAnimatedEnumeration;
[scriptable, uuid(3dd19de9-deee-4105-9c5c-c51c68b31326)]
[scriptable, uuid(91147786-14f3-4567-b926-7e69e0228c03)]
interface nsIDOMSVGClipPathElement
: nsIDOMSVGElement
/*

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