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
parent 543b9fc6d0
commit 4f4296bd91
2 changed files with 8 additions and 1 deletions

View File

@ -8503,6 +8503,12 @@ nsGlobalWindow::GetIndexedDB(nsIIDBFactory** _retval)
return NS_OK;
}
NS_IMETHODIMP
nsGlobalWindow::GetMozIndexedDB(nsIIDBFactory** _retval)
{
return GetIndexedDB(_retval);
}
//*****************************************************************************
// nsGlobalWindow::nsIInterfaceRequestor
//*****************************************************************************

View File

@ -15,11 +15,12 @@
interface nsIIDBFactory;
[scriptable, uuid(c5982775-3f65-4d3e-b5f0-2400c987a900)]
[scriptable, uuid(94ca74e8-9cff-456e-a7a4-a4071a32ff58)]
interface nsIDOMStorageIndexedDB : nsISupports
{
/**
* Indexed Databases for the current browsing context.
*/
readonly attribute nsIIDBFactory indexedDB;
readonly attribute nsIIDBFactory mozIndexedDB;
};