diff --git a/dom/base/nsGlobalWindow.cpp b/dom/base/nsGlobalWindow.cpp index 76549f01aba6..a6f82e24d4d0 100644 --- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -8468,6 +8468,12 @@ nsGlobalWindow::GetIndexedDB(nsIIDBFactory** _retval) return NS_OK; } +NS_IMETHODIMP +nsGlobalWindow::GetMozIndexedDB(nsIIDBFactory** _retval) +{ + return GetIndexedDB(_retval); +} + //***************************************************************************** // nsGlobalWindow::nsIInterfaceRequestor //***************************************************************************** diff --git a/dom/interfaces/storage/nsIDOMStorageIndexedDB.idl b/dom/interfaces/storage/nsIDOMStorageIndexedDB.idl index c7589c384f94..f35a3f005b42 100644 --- a/dom/interfaces/storage/nsIDOMStorageIndexedDB.idl +++ b/dom/interfaces/storage/nsIDOMStorageIndexedDB.idl @@ -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; };