stelar7
9d5f6108e4
LibWeb/IDB: Implement recent spec changes
2025-05-06 13:30:37 +01:00
stelar7
0ed71d87ca
LibWeb/IDB: Dont move away the name when creating an Index
2025-05-06 11:16:01 +02:00
stelar7
f3a31c98ea
LibWeb/IDB: Use correct key comparison when doing Index lookup
2025-05-06 11:16:01 +02:00
stelar7
98d08b27e4
LibWeb/IDB: Implement iterate_a_cursor
2025-05-06 11:16:01 +02:00
Shannon Booth
e476d21ed0
LibJS: Add and use PrimitiveString::length_in_utf16_code_units
...
I was investigating an optimization in this area, and while it
didn't seem to have a noticable improvement, it still seems
useful to apply this change.
2025-05-03 16:18:47 +02:00
stelar7
81d7f27c73
LibWeb/IDB: Fix record checking using the wrong key comparison
2025-04-29 17:06:17 +02:00
stelar7
18a008d073
LibWeb/IDB: Implement retrieve_a_value_from_an_object_store
2025-04-29 17:06:17 +02:00
stelar7
694375d3ac
LibWeb/IDB: Implement count_the_records_in_a_range
2025-04-29 17:06:17 +02:00
stelar7
64d251b36c
LibWeb/IDB: Implement convert_a_value_to_a_key_range
2025-04-29 17:06:17 +02:00
stelar7
47d6b568fd
LibWeb/IDB: Dont keep trailing separator when splitting key paths
2025-04-28 11:31:31 +02:00
stelar7
577f799240
LibWeb/IDB: Fix a bug where the KeyGenerator was not incremented
2025-04-28 11:31:31 +02:00
stelar7
facfcd87c2
LibWeb/IDB: Introduce an Invalid KeyType
...
This cleans up the code around failure/invalid/exception a bit
2025-04-28 11:31:31 +02:00
stelar7
5ae069a031
LibWeb/IDB: Use correct state to check for throw condition
2025-04-25 07:23:41 -04:00
stelar7
a06cec7a3c
LibWeb/IDB: Implement IDBObjectStore::add_or_put
2025-04-23 12:31:14 -06:00
stelar7
fb17dae42b
LibWeb/IDB: Implement store_a_record_into_an_object_store
2025-04-23 12:31:14 -06:00
stelar7
afe7951af4
LibWeb/IDB: Implement delete_records_from_an_object_store
2025-04-23 12:31:14 -06:00
stelar7
7fa3bd00b5
LibWeb/IDB: Implement inject_a_key_into_a_value_using_a_key_path
2025-04-23 12:31:14 -06:00
stelar7
1bdf519b60
LibWeb/IDB: Implement possibly_update_the_key_generator
2025-04-23 12:31:14 -06:00
stelar7
dbe0db0cab
LibWeb/IDB: Implement generate_a_key
2025-04-23 12:31:14 -06:00
stelar7
f8b09148be
LibWeb/IDB: Implement asynchronously_execute_a_request
2025-04-23 12:31:14 -06:00
stelar7
abb11a26a8
LibWeb/IDB: Implement fire_a_success_event
2025-04-23 12:31:14 -06:00
stelar7
5c814e1a62
LibWeb/IDB: Implement fire_an_error_event
2025-04-23 12:31:14 -06:00
stelar7
1d97b0d18e
LibWeb/IDB: Implement check_that_a_key_could_be_injected_into_a_value
2025-04-23 12:31:14 -06:00
stelar7
eab7a2bb05
LibWeb/IDB: Implement extract_a_key_from_a_value_using_a_key_path
2025-04-23 12:31:14 -06:00
stelar7
84ea78eb4d
LibWeb/IDB: Implement evaluate_key_path_on_a_value
2025-04-23 12:31:14 -06:00
stelar7
f36c4d88ff
LibWeb/IDB: Implement convert_a_value_to_a_multi_entry_key
2025-04-23 12:31:14 -06:00
stelar7
8bfbcf6d9b
LibWeb/IDB: Adjust return type of convert_a_value_to_a_key
2025-04-23 12:31:14 -06:00
stelar7
499548c3d0
LibWeb/IDB: Implement clone_in_realm
2025-04-23 12:31:14 -06:00
stelar7
0a298dba27
LibWeb/IDB: Dont go back to inactive if we finished during upgrade
2025-04-10 19:12:30 -06:00
stelar7
8fcb54dada
LibWeb/IDB: Abort requests in the transactions request list
2025-04-10 19:12:30 -06:00
stelar7
a61315a68e
LibWeb/IDB: Use correct wait condition when upgrading database
2025-04-10 19:12:30 -06:00
stelar7
de640ffef4
LibWeb/IDB: Implement auto-commit for IDBTransaction
2025-04-10 19:12:30 -06:00
stelar7
da56c1b1eb
LibWeb/IDB: Implement IDBTransaction::commit
2025-04-10 19:12:30 -06:00
stelar7
b6b00acbd1
LibWeb/IDB: Implement abort and wait steps for closing a connection
2025-04-10 19:12:30 -06:00
stelar7
d1dabb9039
LibWeb/IDB: Make close_a_database_connection take a GC::Ref
2025-04-10 19:12:30 -06:00
stelar7
7c3de67b16
LibWeb/IDB: Dont set the forced flag when aborting connection
2025-04-10 19:12:30 -06:00
stelar7
1fc2d6f1af
LibWeb/IDB: Comment out infinite loop while waiting for next PR
...
Since the steps needed to avoid this loop is quite long,
adding this as a fixme for the future will make this PR easier to review
2025-04-09 11:48:49 -06:00
stelar7
6ec914c7f7
LibWeb/IDB: Add some debug output
2025-04-09 11:48:49 -06:00
stelar7
4084a127de
LibWeb/IDB: Change reference to a GC::Ref in abort_a_transaction
2025-04-09 11:48:49 -06:00
stelar7
5298ecfc94
LibWeb/IDB: Implement IDBTransaction attributes
...
This also uncovered a bug, where the transactions type was never set :^)
2025-04-09 11:48:49 -06:00
stelar7
3367352991
LibWeb/IDB: Implement IDBObjectStore::createIndex
2025-04-09 11:48:49 -06:00
stelar7
9321ad04c0
LibWeb/IDB: Add internal Index object
2025-04-09 11:48:49 -06:00
R-Goc
28d5d982ce
Everywhere: Remove unused private fields
...
CI / Lagom (x86_64, Fuzzers_CI, false, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (arm64, Sanitizer_CI, false, macos-15, macOS, Clang) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, false, ubuntu-24.04, Linux, GNU) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, true, ubuntu-24.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (arm64, macos-15, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (x86_64, ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
This commit removes the -Wno-unusued-private-field flag, thus
reenabling the warning. Unused field were either removed or marked
[[maybe_unused]] when unsure.
2025-04-04 12:40:07 +02:00
stelar7
209d05fcb4
LibWeb/IDB: Implement IDBDatabase::deleteObjectStore
2025-03-27 15:47:16 +00:00
stelar7
b11276e5c4
LibWeb/IDB: Implement IDBDatabase::objectStoreNames
2025-03-27 15:47:16 +00:00
stelar7
1ad9b3ee6e
LibWeb/IDB: Implement create_a_sorted_name_list
2025-03-27 15:47:16 +00:00
stelar7
3879391fa6
LibWeb/IDB: Implement IDBObjectStore::name
2025-03-27 15:47:16 +00:00
stelar7
2e02b62126
LibWeb/IDB: Implement IDBObjectStore::autoIncrement
2025-03-27 15:47:16 +00:00
stelar7
1057c88fdd
LibWeb/IDB: Implement IDBDatabase::createObjectStore
2025-03-27 15:47:16 +00:00
stelar7
3c5578cc87
LibWeb/IDB: Add internal ObjectStore type
2025-03-27 15:47:16 +00:00