Bug 279041 - Add ToString to nsHTMLAreaElement.
r+sr=jst git-svn-id: svn://10.0.0.236/trunk@168429 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6d66979fde
commit
2332d847d7
@ -456,6 +456,12 @@ nsHTMLAreaElement::SetHash(const nsAString& aHash)
|
||||
return SetHref(new_href);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLAreaElement::ToString(nsAString& aSource)
|
||||
{
|
||||
return GetHref(aSource);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLAreaElement::GetLinkState(nsLinkState &aState)
|
||||
{
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
#include "domstubs.idl"
|
||||
|
||||
[scriptable, uuid(a6cf911b-15b3-11d2-932e-00805f8add32)]
|
||||
[scriptable, uuid(3dce9071-f3b9-4280-a6ee-776cdfe3dd9e)]
|
||||
interface nsIDOMNSHTMLAreaElement : nsISupports
|
||||
{
|
||||
attribute DOMString protocol;
|
||||
@ -49,4 +49,6 @@ interface nsIDOMNSHTMLAreaElement : nsISupports
|
||||
attribute DOMString search;
|
||||
attribute DOMString port;
|
||||
attribute DOMString hash;
|
||||
|
||||
DOMString toString();
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user