mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 526317 - Remove nsIDOMGeoPositionError::message and nsIDOMGeoPositionError::UNKNOWN_ERROR. r=olli
--HG-- extra : rebase_source : 201b8d323cfbafa13cfd664f4fd5a14075c6fd4e
This commit is contained in:
parent
f2594937d2
commit
48f54f2fdb
@ -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;
|
||||
};
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user