mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
[IndexedDB] Reduce heed related panics (#37652)
Allows indexeddb backends to return errors on certain operations. Currently the errors are not demarcated, as the result type is `Result<(), ()>`. If this is not appropriate then perhaps having a string error might be better. Testing: Some tests might perhaps move from PANIC to FAIL Fixes: Partially fixes a bit of #37647, more work needs to be done however --------- Signed-off-by: Ashwin Naren <arihant2math@gmail.com> Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
72e0baa997
commit
d114feb0fa
5 changed files with 60 additions and 28 deletions
|
@ -1,8 +1,24 @@
|
|||
[list_ordering.any.worker.html]
|
||||
expected: CRASH
|
||||
[Validate ObjectStoreNames and indexNames list order - numbers]
|
||||
expected: FAIL
|
||||
|
||||
[Validate ObjectStoreNames and indexNames list order - numbers 'overflow']
|
||||
expected: FAIL
|
||||
|
||||
[Validate ObjectStoreNames and indexNames list order - lexigraphical string sort]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[list_ordering.any.html]
|
||||
expected: CRASH
|
||||
[Validate ObjectStoreNames and indexNames list order - numbers]
|
||||
expected: FAIL
|
||||
|
||||
[Validate ObjectStoreNames and indexNames list order - numbers 'overflow']
|
||||
expected: FAIL
|
||||
|
||||
[Validate ObjectStoreNames and indexNames list order - lexigraphical string sort]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[list_ordering.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
|
|
@ -2,10 +2,13 @@
|
|||
expected: ERROR
|
||||
|
||||
[string-list-ordering.any.worker.html]
|
||||
expected: CRASH
|
||||
[Test string list ordering in IndexedDB]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[string-list-ordering.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[string-list-ordering.any.html]
|
||||
expected: CRASH
|
||||
[Test string list ordering in IndexedDB]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue