Bug 975699. Remove mozIndexedDB. r=khuey

This commit is contained in:
Boris Zbarsky 2015-02-12 18:39:26 -05:00
parent 11f1c43ca5
commit c1347d4d64
4 changed files with 1 additions and 19 deletions

View File

@ -10646,12 +10646,6 @@ nsGlobalWindow::GetIndexedDB(nsISupports** _retval)
return rv.ErrorCode();
}
NS_IMETHODIMP
nsGlobalWindow::GetMozIndexedDB(nsISupports** _retval)
{
return GetIndexedDB(_retval);
}
//*****************************************************************************
// nsGlobalWindow::nsIInterfaceRequestor
//*****************************************************************************

View File

@ -977,11 +977,6 @@ public:
GetDefaultComputedStyle(mozilla::dom::Element& aElt,
const nsAString& aPseudoElt,
mozilla::ErrorResult& aError);
mozilla::dom::indexedDB::IDBFactory*
GetMozIndexedDB(mozilla::ErrorResult& aError)
{
return GetIndexedDB(aError);
}
int32_t MozRequestAnimationFrame(nsIFrameRequestCallback* aRequestCallback,
mozilla::ErrorResult& aError);
void MozCancelAnimationFrame(int32_t aHandle, mozilla::ErrorResult& aError)

View File

@ -23,7 +23,7 @@ interface nsIVariant;
* @see <http://www.whatwg.org/html/#window>
*/
[scriptable, uuid(3addc629-754d-4a2a-99a3-449ed1a2e4bd)]
[scriptable, uuid(8146f3fc-9fc1-47c5-85ef-95d686e4ca6d)]
interface nsIDOMWindow : nsISupports
{
// the current browsing context
@ -257,7 +257,6 @@ interface nsIDOMWindow : nsISupports
// https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#requests
// IDBEnvironment
readonly attribute nsISupports indexedDB;
readonly attribute nsISupports mozIndexedDB;
// DOM Range

View File

@ -12,9 +12,3 @@ interface IDBEnvironment {
//[Throws] readonly attribute IDBFactory indexedDB;
[Throws] readonly attribute IDBFactory? indexedDB;
};
// Mozilla-specific stuff
partial interface IDBEnvironment {
[Exposed=Window, Throws]
readonly attribute IDBFactory? mozIndexedDB;
};