diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
commit | 59203c63bb777a3bacec32fb8830fba33540e809 (patch) | |
tree | 58298e711c0ff0575818c30485b44a2f21bf28a0 /toolkit/modules/IndexedDB.sys.mjs | |
parent | Adding upstream version 126.0.1. (diff) | |
download | firefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip |
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/modules/IndexedDB.sys.mjs')
-rw-r--r-- | toolkit/modules/IndexedDB.sys.mjs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/toolkit/modules/IndexedDB.sys.mjs b/toolkit/modules/IndexedDB.sys.mjs index b3b9f81b8d..1ba7bb6835 100644 --- a/toolkit/modules/IndexedDB.sys.mjs +++ b/toolkit/modules/IndexedDB.sys.mjs @@ -281,9 +281,7 @@ export class IndexedDB { * * @param {string} dbName * The name of the database to open. - * @param {object} options - * The options with which to open the database. - * @param {integer} options.version + * @param {integer} version * The schema version with which the database needs to be opened. If * the database does not exist, or its current schema version does * not match, the `onupgradeneeded` function will be called. @@ -295,8 +293,8 @@ export class IndexedDB { * * @returns {Promise<IndexedDB>} */ - static open(dbName, options, onupgradeneeded = null) { - let request = indexedDB.open(dbName, options); + static open(dbName, version, onupgradeneeded = null) { + let request = indexedDB.open(dbName, version); return this._wrapOpenRequest(request, onupgradeneeded); } |