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}}

- -

Properties

- -
-
{{domxref("WindowOrWorkerGlobalScope.indexedDB")}} {{readonlyInline}}
-
Provides a mechanism for applications to asynchronously access capabilities of indexed databases; contains an {{domxref("IDBFactory")}} object.
-
- -

Example

- -

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;
- };
-}
-
- -

Browser compatibility

- -

{{Compat}}

- -

See also

- - diff --git a/files/en-us/web/api/indexeddb_api/index.html b/files/en-us/web/api/indexeddb_api/index.html index 63733b781bae68f..bfa0c78e98f7ee8 100644 --- a/files/en-us/web/api/indexeddb_api/index.html +++ b/files/en-us/web/api/indexeddb_api/index.html @@ -49,8 +49,6 @@

Interfaces

Connecting to a database

-
{{domxref("IDBEnvironment")}}
-
Provides access to IndexedDB functionality. It is implemented by the {{domxref("window")}} and {{domxref("worker")}} objects. This interface isn't part of the 2.0 specification.
{{domxref("IDBFactory")}}
Provides access to a database. This is the interface implemented by the global object {{domxref("WindowOrWorkerGlobalScope/indexedDB", "indexedDB")}} and is therefore the entry point for the API.
{{domxref("IDBOpenDBRequest")}}