diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 0b427b29241c3ef..b2c8cb32647c059 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -4070,7 +4070,6 @@ /en-US/docs/IndexedDB/IDBDatabase /en-US/docs/Web/API/IDBDatabase /en-US/docs/IndexedDB/IDBDatabaseException /en-US/docs/Web/API/IDBDatabaseException /en-US/docs/IndexedDB/IDBDatabaseSync /en-US/docs/Web/API/IDBDatabaseSync -/en-US/docs/IndexedDB/IDBEnvironment /en-US/docs/Web/API/IDBEnvironment /en-US/docs/IndexedDB/IDBEnvironmentSync /en-US/docs/Web/API/IDBEnvironmentSync /en-US/docs/IndexedDB/IDBFactory /en-US/docs/Web/API/IDBFactory /en-US/docs/IndexedDB/IDBFactorySync /en-US/docs/Web/API/IDBFactorySync diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 7e173f01bd10ccf..bbecb23ed5b5140 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55783,26 +55783,6 @@ "jswisher" ] }, - "Web/API/IDBEnvironment": { - "modified": "2020-10-15T21:10:19.583Z", - "contributors": [ - "sideshowbarker", - "fscholz", - "arronei", - "chrisdavidmills", - "libbymc", - "Brettz9", - "pdm", - "amaneight", - "teoli", - "ethertank", - "wbamberg", - "scottrowe", - "sicking", - "grendel", - "jswisher" - ] - }, "Web/API/IDBEnvironmentSync": { "modified": "2019-03-24T00:10:38.611Z", "contributors": [ diff --git a/files/en-us/web/api/idbenvironment/index.html b/files/en-us/web/api/idbenvironment/index.html deleted file mode 100644 index 9038caa7e84daf5..000000000000000 --- a/files/en-us/web/api/idbenvironment/index.html +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: IDBEnvironment -slug: Web/API/IDBEnvironment -tags: - - API - - DOM - - Database - - IDBEnvironment - - IndexedDB - - Interface - - Deprecated - - Reference - - Storage - - access - - asynchronous - - client-side -browser-compat: api.IDBEnvironment ---- -
{{APIRef()}}{{deprecated_header}}
- -Warning: The indexedDB
property that was previously defined in this mixin is instead now {{domxref("WindowOrWorkerGlobalScope.indexedDB")}} (that is, defined as a member of the {{domxref("WindowOrWorkerGlobalScope")}} mixin).
The IDBEnvironment
helper of the IndexedDB API contains the indexedDB
property, which provides access to IndexedDB functionality. It is the top level IndexedDB interface implemented by the {{domxref("window")}} and {{domxref("Worker")}} objects.
{{AvailableInWorkers}}
- -The following code creates a request for a database to be opened asynchronously, after which the database is opened when the request's onsuccess
handler is fired:
var db; -function openDB() { - var DBOpenRequest = window.indexedDB.open("toDoList"); - DBOpenRequest.onsuccess = function(e) { - db = DBOpenRequest.result; - }; -} -- -
{{Compat}}
- -