Bug 1855455 - Implement a loadExtension() API in mozStorage. r=asuth
commit497899ec5de2045cc1249b9b52539812e07c2ddf
authorMarco Bonardo <mbonardo@mozilla.com>
Tue, 21 Nov 2023 08:34:35 +0000 (21 08:34 +0000)
committerMarco Bonardo <mbonardo@mozilla.com>
Tue, 21 Nov 2023 08:34:35 +0000 (21 08:34 +0000)
tree01bbb3137768c936564d4e9cdb108b5c2566ac18
parentb8014dce651fa7143b0e09c751227d3b909ebc3c
Bug 1855455 - Implement a loadExtension() API in mozStorage. r=asuth

The API can only load from a predetermined list of extensions statically built
in the same library as SQLite (either nss3 or mozsqlite3 at this time).
New extensions must be audited and their code updated through the update.sh
script.
All the extensions should be compilable and usable across all the tier1
platforms and from Rusqlite.

Differential Revision: https://phabricator.services.mozilla.com/D191316
dom/cache/Connection.cpp
storage/mozIStorageAsyncConnection.idl
storage/mozStorageConnection.cpp
storage/mozStorageConnection.h
storage/test/unit/head_storage.js
storage/test/unit/test_storage_ext.js [new file with mode: 0644]
storage/test/unit/test_storage_ext_fts5.js [new file with mode: 0644]
storage/test/unit/xpcshell.ini