Bug 526317 - Remove nsIDOMGeoPositionError::message and nsIDOMGeoPositionError::UNKNOWN_ERROR. r=olli

--HG--
extra : rebase_source : 201b8d323cfbafa13cfd664f4fd5a14075c6fd4e
This commit is contained in:
Doug Turner 2009-11-13 09:21:09 -08:00
parent f2594937d2
commit 48f54f2fdb
2 changed files with 1 additions and 10 deletions

View File

@ -37,14 +37,12 @@
#include "domstubs.idl"
[scriptable, uuid(1B493214-4E58-4A40-AA4C-1AB70C6DDBEC)]
[scriptable, uuid(AD9FA4C8-EC71-4B2D-8294-9ADF06DDEC32)]
interface nsIDOMGeoPositionError : nsISupports
{
const unsigned short UNKNOWN_ERROR = 0;
const unsigned short PERMISSION_DENIED = 1;
const unsigned short POSITION_UNAVAILABLE = 2;
const unsigned short TIMEOUT = 3;
readonly attribute short code;
readonly attribute DOMString message;
};

View File

@ -111,13 +111,6 @@ nsDOMGeoPositionError::GetCode(PRInt16 *aCode)
return NS_OK;
}
NS_IMETHODIMP
nsDOMGeoPositionError::GetMessage(nsAString & aMessage)
{
aMessage.Truncate();
return NS_OK;
}
void
nsDOMGeoPositionError::NotifyCallback(nsIDOMGeoPositionErrorCallback* aCallback)
{