Bug 770844: Add a window.mozIndexedDB to work around this bug for now. r=sicking a=akeybl

This commit is contained in:
Kyle Huey 2012-09-20 08:50:16 -07:00
Родитель 6b3a152380
Коммит 5662519128
2 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

@ -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;
}; };