mirror of
https://github.com/servo/servo.git
synced 2025-09-18 19:08:22 +01:00
Switch indexeddb backend to sqlite and improve IPC messaging (#38187)
- Use sqlite instead of heed. (one indexed database = one sqlite database) - Implement the backend for indexes - Use keyranges where needed (as specified by the spec) - Implement `getKey` - Fix channel error messaging (led to a bunch of changes to how async requests are handled) Note: `components/net/indexeddb/engines/sqlite/serialize.rs` is unused; I can delete it if needed. Testing: Switching to sqlite eliminated many panics (exposing some new failures). Fixes: #38040 --------- Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
f4bbdf8010
commit
fc3feceee5
59 changed files with 2002 additions and 818 deletions
|
@ -2,25 +2,12 @@
|
|||
expected: ERROR
|
||||
|
||||
[idbobjectstore-request-source.any.worker.html]
|
||||
expected: CRASH
|
||||
[The source of the request from store => store.put(0) is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.add(0) is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.delete(0) is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.clear() is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.get(0) is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.getKey(0) is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.getAll() is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -41,4 +28,23 @@
|
|||
expected: ERROR
|
||||
|
||||
[idbobjectstore-request-source.any.html]
|
||||
expected: CRASH
|
||||
[The source of the request from store => store.put(0) is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.add(0) is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.getAll() is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.getAllKeys() is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.count() is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.openCursor() is the object store itself]
|
||||
expected: FAIL
|
||||
|
||||
[The source of the request from store => store.openKeyCursor() is the object store itself]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue