зеркало из https://github.com/mozilla/gecko-dev.git
Bug 770844: Add a window.mozIndexedDB to work around this bug for now. r=sicking a=akeybl
This commit is contained in:
Родитель
6b3a152380
Коммит
5662519128
|
@ -8468,6 +8468,12 @@ nsGlobalWindow::GetIndexedDB(nsIIDBFactory** _retval)
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NS_IMETHODIMP
|
||||||
|
nsGlobalWindow::GetMozIndexedDB(nsIIDBFactory** _retval)
|
||||||
|
{
|
||||||
|
return GetIndexedDB(_retval);
|
||||||
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
// nsGlobalWindow::nsIInterfaceRequestor
|
// nsGlobalWindow::nsIInterfaceRequestor
|
||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
|
|
|
@ -15,11 +15,12 @@
|
||||||
|
|
||||||
interface nsIIDBFactory;
|
interface nsIIDBFactory;
|
||||||
|
|
||||||
[scriptable, uuid(c5982775-3f65-4d3e-b5f0-2400c987a900)]
|
[scriptable, uuid(94ca74e8-9cff-456e-a7a4-a4071a32ff58)]
|
||||||
interface nsIDOMStorageIndexedDB : nsISupports
|
interface nsIDOMStorageIndexedDB : nsISupports
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Indexed Databases for the current browsing context.
|
* Indexed Databases for the current browsing context.
|
||||||
*/
|
*/
|
||||||
readonly attribute nsIIDBFactory indexedDB;
|
readonly attribute nsIIDBFactory indexedDB;
|
||||||
|
readonly attribute nsIIDBFactory mozIndexedDB;
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче