Bug 684821 - Fix bustage due to nsIDOMNSHTMLElement removal.
authorMs2ger <ms2ger@gmail.com>
Sun, 30 Oct 2011 12:22:45 +0100
changeset 8737 7a2784430d36a31e5de2b36f75c15d6a2f6cb063
parent 8736 a04018b04d0bfc0ba745a62482c474d64bdf0097
child 8738 b5f37d7e71999da63f7f636645ba09cf775075fd
push id6720
push userMs2ger@gmail.com
push dateSun, 30 Oct 2011 11:23:09 +0000
treeherdercomm-central@7a2784430d36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs684821
Bug 684821 - Fix bustage due to nsIDOMNSHTMLElement removal.
mailnews/import/eudora/src/nsEudoraEditor.cpp
mailnews/import/outlook/src/nsOutlookEditor.cpp
--- a/mailnews/import/eudora/src/nsEudoraEditor.cpp
+++ b/mailnews/import/eudora/src/nsEudoraEditor.cpp
@@ -1223,104 +1223,259 @@ NS_IMETHODIMP nsEudoraHTMLImageElement::
 }
 
 // attribute DOMString id
 NS_IMETHODIMP nsEudoraHTMLImageElement::GetId(nsAString & aId)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-
 NS_IMETHODIMP nsEudoraHTMLImageElement::SetId(const nsAString & aId)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 
 // attribute DOMString title
 NS_IMETHODIMP nsEudoraHTMLImageElement::GetTitle(nsAString & aTitle)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-
 NS_IMETHODIMP nsEudoraHTMLImageElement::SetTitle(const nsAString & aTitle)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 
 // attribute DOMString lang
 NS_IMETHODIMP nsEudoraHTMLImageElement::GetLang(nsAString & aLang)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-
 NS_IMETHODIMP nsEudoraHTMLImageElement::SetLang(const nsAString & aLang)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 
 // attribute DOMString dir
 NS_IMETHODIMP nsEudoraHTMLImageElement::GetDir(nsAString & aDir)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-
 NS_IMETHODIMP nsEudoraHTMLImageElement::SetDir(const nsAString & aDir)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 
 // attribute DOMString className
 NS_IMETHODIMP nsEudoraHTMLImageElement::GetClassName(nsAString & aClassName)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-
 NS_IMETHODIMP nsEudoraHTMLImageElement::SetClassName(const nsAString & aClassName)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-NS_IMETHODIMP nsEudoraHTMLImageElement::GetAccessKey(nsAString &aAccessKey)
+
+// readonly attribute nsIDOMDOMStringMap dataset
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetDataset(nsIDOMDOMStringMap * *aDataset)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute boolean hidden
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetHidden(bool *aHidden)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsEudoraHTMLImageElement::SetHidden(bool aHidden)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-NS_IMETHODIMP nsEudoraHTMLImageElement::SetAccessKey(const nsAString &aAccessKey)
+
+// void click ()
+NS_IMETHODIMP nsEudoraHTMLImageElement::Click()
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute long tabIndex
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetTabIndex(PRInt32 *aTabIndex)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-NS_IMETHODIMP nsEudoraHTMLImageElement::GetAccessKeyLabel(nsAString &aAccessKey)
+NS_IMETHODIMP nsEudoraHTMLImageElement::SetTabIndex(PRInt32 aTabIndex)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
+
+// void focus ()
+NS_IMETHODIMP nsEudoraHTMLImageElement::Focus()
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// void blur ()
 NS_IMETHODIMP nsEudoraHTMLImageElement::Blur()
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-NS_IMETHODIMP nsEudoraHTMLImageElement::Focus()
+
+// attribute DOMString accessKey
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetAccessKey(nsAString & aAccessKey)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsEudoraHTMLImageElement::SetAccessKey(const nsAString & aAccessKey)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute DOMString accessKeyLabel
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetAccessKeyLabel(nsAString & aAccessKeyLabel)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute boolean draggable
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetDraggable(bool *aDraggable)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsEudoraHTMLImageElement::SetDraggable(bool aDraggable)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute DOMString contentEditable
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetContentEditable(nsAString & aContentEditable)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsEudoraHTMLImageElement::SetContentEditable(const nsAString & aContentEditable)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute boolean isContentEditable
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetIsContentEditable(bool *aIsContentEditable)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute nsIDOMHTMLMenuElement contextMenu
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetContextMenu(nsIDOMHTMLMenuElement * *aContextMenu)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute boolean spellcheck
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetSpellcheck(bool *aSpellcheck)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsEudoraHTMLImageElement::SetSpellcheck(bool aSpellcheck)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-NS_IMETHODIMP nsEudoraHTMLImageElement::Click()
+
+// attribute DOMString innerHTML
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetInnerHTML(nsAString & aInnerHTML)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsEudoraHTMLImageElement::SetInnerHTML(const nsAString & aInnerHTML)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// void insertAdjacentHTML (in DOMString position, in DOMString text)
+NS_IMETHODIMP nsEudoraHTMLImageElement::InsertAdjacentHTML(const nsAString & position, const nsAString & text)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// [optional_argc] void scrollIntoView ([optional] in boolean top)
+NS_IMETHODIMP nsEudoraHTMLImageElement::ScrollIntoView(bool top, PRUint8 _argc)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute nsIDOMElement offsetParent
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetOffsetParent(nsIDOMElement * *aOffsetParent)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
+
+// readonly attribute long offsetTop
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetOffsetTop(PRInt32 *aOffsetTop)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute long offsetLeft
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetOffsetLeft(PRInt32 *aOffsetLeft)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute long offsetWidth
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetOffsetWidth(PRInt32 *aOffsetWidth)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute long offsetHeight
+NS_IMETHODIMP nsEudoraHTMLImageElement::GetOffsetHeight(PRInt32 *aOffsetHeight)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// void mozRequestFullScreen ()
+NS_IMETHODIMP nsEudoraHTMLImageElement::MozRequestFullScreen()
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
 // attribute DOMString name
 NS_IMETHODIMP nsEudoraHTMLImageElement::GetName(nsAString & aName)
 {
   return NS_OK;
 }
 
 
 NS_IMETHODIMP nsEudoraHTMLImageElement::SetName(const nsAString & aName)
--- a/mailnews/import/outlook/src/nsOutlookEditor.cpp
+++ b/mailnews/import/outlook/src/nsOutlookEditor.cpp
@@ -922,71 +922,266 @@ NS_IMETHODIMP nsOutlookHTMLImageElement:
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 NS_IMETHODIMP nsOutlookHTMLImageElement::SetOnmouseleave(JSContext *cx, const JS::Value &aMouseLeave)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
+
 // attribute DOMString id
 NS_IMETHODIMP nsOutlookHTMLImageElement::GetId(nsAString & aId)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 NS_IMETHODIMP nsOutlookHTMLImageElement::SetId(const nsAString & aId)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
+
 // attribute DOMString title
 NS_IMETHODIMP nsOutlookHTMLImageElement::GetTitle(nsAString & aTitle)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 NS_IMETHODIMP nsOutlookHTMLImageElement::SetTitle(const nsAString & aTitle)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
+
 // attribute DOMString lang
 NS_IMETHODIMP nsOutlookHTMLImageElement::GetLang(nsAString & aLang)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 NS_IMETHODIMP nsOutlookHTMLImageElement::SetLang(const nsAString & aLang)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
+
 // attribute DOMString dir
 NS_IMETHODIMP nsOutlookHTMLImageElement::GetDir(nsAString & aDir)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 NS_IMETHODIMP nsOutlookHTMLImageElement::SetDir(const nsAString & aDir)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
+
 // attribute DOMString className
 NS_IMETHODIMP nsOutlookHTMLImageElement::GetClassName(nsAString & aClassName)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 NS_IMETHODIMP nsOutlookHTMLImageElement::SetClassName(const nsAString & aClassName)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
+
+// readonly attribute nsIDOMDOMStringMap dataset
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetDataset(nsIDOMDOMStringMap * *aDataset)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute boolean hidden
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetHidden(bool *aHidden)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsOutlookHTMLImageElement::SetHidden(bool aHidden)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// void click ()
+NS_IMETHODIMP nsOutlookHTMLImageElement::Click()
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute long tabIndex
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetTabIndex(PRInt32 *aTabIndex)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsOutlookHTMLImageElement::SetTabIndex(PRInt32 aTabIndex)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// void focus ()
+NS_IMETHODIMP nsOutlookHTMLImageElement::Focus()
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// void blur ()
+NS_IMETHODIMP nsOutlookHTMLImageElement::Blur()
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute DOMString accessKey
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetAccessKey(nsAString & aAccessKey)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsOutlookHTMLImageElement::SetAccessKey(const nsAString & aAccessKey)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute DOMString accessKeyLabel
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetAccessKeyLabel(nsAString & aAccessKeyLabel)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute boolean draggable
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetDraggable(bool *aDraggable)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsOutlookHTMLImageElement::SetDraggable(bool aDraggable)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute DOMString contentEditable
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetContentEditable(nsAString & aContentEditable)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsOutlookHTMLImageElement::SetContentEditable(const nsAString & aContentEditable)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute boolean isContentEditable
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetIsContentEditable(bool *aIsContentEditable)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute nsIDOMHTMLMenuElement contextMenu
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetContextMenu(nsIDOMHTMLMenuElement * *aContextMenu)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute boolean spellcheck
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetSpellcheck(bool *aSpellcheck)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsOutlookHTMLImageElement::SetSpellcheck(bool aSpellcheck)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// attribute DOMString innerHTML
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetInnerHTML(nsAString & aInnerHTML)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP nsOutlookHTMLImageElement::SetInnerHTML(const nsAString & aInnerHTML)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// void insertAdjacentHTML (in DOMString position, in DOMString text)
+NS_IMETHODIMP nsOutlookHTMLImageElement::InsertAdjacentHTML(const nsAString & position, const nsAString & text)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// [optional_argc] void scrollIntoView ([optional] in boolean top)
+NS_IMETHODIMP nsOutlookHTMLImageElement::ScrollIntoView(bool top, PRUint8 _argc)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute nsIDOMElement offsetParent
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetOffsetParent(nsIDOMElement * *aOffsetParent)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute long offsetTop
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetOffsetTop(PRInt32 *aOffsetTop)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute long offsetLeft
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetOffsetLeft(PRInt32 *aOffsetLeft)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute long offsetWidth
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetOffsetWidth(PRInt32 *aOffsetWidth)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// readonly attribute long offsetHeight
+NS_IMETHODIMP nsOutlookHTMLImageElement::GetOffsetHeight(PRInt32 *aOffsetHeight)
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
+// void mozRequestFullScreen ()
+NS_IMETHODIMP nsOutlookHTMLImageElement::MozRequestFullScreen()
+{
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+
 // attribute DOMString name
 NS_IMETHODIMP nsOutlookHTMLImageElement::GetName(nsAString & aName)
 {
   aName.Assign(m_name);
   return NS_OK;
 }
 
 NS_IMETHODIMP nsOutlookHTMLImageElement::SetName(const nsAString & aName)
@@ -1160,46 +1355,16 @@ NS_IMETHODIMP nsOutlookHTMLImageElement:
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 NS_IMETHODIMP nsOutlookHTMLImageElement::SetWidth(PRUint32 aWidth)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-NS_IMETHODIMP nsOutlookHTMLImageElement::GetAccessKey(nsAString &aAccessKey)
-{
-  return NS_ERROR_NOT_IMPLEMENTED;
-}
-
-NS_IMETHODIMP nsOutlookHTMLImageElement::SetAccessKey(const nsAString &aAccessKey)
-{
-  return NS_ERROR_NOT_IMPLEMENTED;
-}
-
-NS_IMETHODIMP nsOutlookHTMLImageElement::GetAccessKeyLabel(nsAString &aAccessKey)
-{
-  return NS_ERROR_NOT_IMPLEMENTED;
-}
-
-NS_IMETHODIMP nsOutlookHTMLImageElement::Blur()
-{
-  return NS_ERROR_NOT_IMPLEMENTED;
-}
-
-NS_IMETHODIMP nsOutlookHTMLImageElement::Focus()
-{
-  return NS_ERROR_NOT_IMPLEMENTED;
-}
-
-NS_IMETHODIMP nsOutlookHTMLImageElement::Click()
-{
-  return NS_ERROR_NOT_IMPLEMENTED;
-}
-
 NS_IMETHODIMP nsOutlookHTMLImageElement::GetDOMBaseURI(nsAString &aBaseURI)
 {
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 NS_IMETHODIMP nsOutlookHTMLImageElement::CompareDocumentPosition(nsIDOMNode *other, PRUint16 *_retval NS_OUTPARAM)
 {
   return NS_ERROR_NOT_IMPLEMENTED;