Bug 975699. Remove mozIndexedDB. r=khuey

This commit is contained in:
Boris Zbarsky 2015-02-12 18:39:26 -05:00
parent 6807694bba
commit 1724baf9e8
4 changed files with 1 additions and 19 deletions

View File

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

View File

@ -977,11 +977,6 @@ public:
GetDefaultComputedStyle(mozilla::dom::Element& aElt, GetDefaultComputedStyle(mozilla::dom::Element& aElt,
const nsAString& aPseudoElt, const nsAString& aPseudoElt,
mozilla::ErrorResult& aError); mozilla::ErrorResult& aError);
mozilla::dom::indexedDB::IDBFactory*
GetMozIndexedDB(mozilla::ErrorResult& aError)
{
return GetIndexedDB(aError);
}
int32_t MozRequestAnimationFrame(nsIFrameRequestCallback* aRequestCallback, int32_t MozRequestAnimationFrame(nsIFrameRequestCallback* aRequestCallback,
mozilla::ErrorResult& aError); mozilla::ErrorResult& aError);
void MozCancelAnimationFrame(int32_t aHandle, 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> * @see <http://www.whatwg.org/html/#window>
*/ */
[scriptable, uuid(3addc629-754d-4a2a-99a3-449ed1a2e4bd)] [scriptable, uuid(8146f3fc-9fc1-47c5-85ef-95d686e4ca6d)]
interface nsIDOMWindow : nsISupports interface nsIDOMWindow : nsISupports
{ {
// the current browsing context // the current browsing context
@ -257,7 +257,6 @@ interface nsIDOMWindow : nsISupports
// https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#requests // https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#requests
// IDBEnvironment // IDBEnvironment
readonly attribute nsISupports indexedDB; readonly attribute nsISupports indexedDB;
readonly attribute nsISupports mozIndexedDB;
// DOM Range // DOM Range

View File

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