Timothy Flynn
0efa98a57a
LibJS+LibWeb+WebContent: Port JS::PropertyKey to UTF-16
...
This has quite a lot of fall out. But the majority of it is just type or
UDL substitution, where the changes just fall through to other function
calls.
By changing property key storage to UTF-16, the main affected areas are:
* NativeFunction names must now be UTF-16
* Bytecode identifiers must now be UTF-16
* Module/binding names must now be UTF-16
2025-08-05 07:07:15 -04:00
stelar7
3815a7c1eb
LibWeb: Implement cleanup_indexed_database_transactions
2025-06-18 19:05:41 +12:00
stelar7
9e7fb5efbc
LibWeb/IDB: Update spec step wording
2025-05-16 12:10:16 +01:00
stelar7
c1d63b5b28
LibWeb/IDB: Implement queue_a_database_task
2025-05-16 12:10:16 +01:00
stelar7
22a7e0795a
LibWeb/IDB: Use helper method for checking transaction mode
2025-05-14 17:17:29 +02:00
stelar7
c8e1b24864
LibWeb/IDB: Use helper method for checking transaction state
2025-05-14 17:17:29 +02:00
stelar7
4c7c7845d3
LibWeb/IDB: Remove outdated FIXME
2025-05-14 17:17:29 +02:00
stelar7
13674c1b32
LibWeb/IDB: Resolve FIXME regarding removing from indecies
2025-05-14 17:17:29 +02:00
stelar7
46ecf239c4
LibWeb/IDB: Implement storing of index records
2025-05-14 17:17:29 +02:00
stelar7
c73b8d1fa0
LibWeb/IDB: Implement IDBIndex::openKeyCursor
2025-05-14 17:17:29 +02:00
stelar7
852323009f
LibWeb/IDB: Implement IDBIndex::count
2025-05-14 17:17:29 +02:00
stelar7
b8bb8345a9
LibWeb/IDB: Implement IDBIndex::getAllKeys
2025-05-14 17:17:29 +02:00
stelar7
3fa1d1299c
LibWeb/IDB: Implement IDBIndex::getAll
2025-05-14 17:17:29 +02:00
stelar7
47450bc15c
LibWeb/IDB: Implement IDBIndex::getKey
2025-05-14 17:17:29 +02:00
stelar7
e74e571b56
LibWeb/IDB: Implement IDBIndex::get
2025-05-14 17:17:29 +02:00
Timothy Flynn
7280ed6312
Meta: Enforce newlines around namespaces
...
This has come up several times during code review, so let's just enforce
it using a new clang-format 20 option.
2025-05-14 02:01:59 -06:00
stelar7
296d9d74d8
LibWeb/IDB: Implement IDBCursorWithValue interface
2025-05-13 10:48:40 -06:00
stelar7
9c51326fcb
LibWeb/IDB: Implement IDBCursor::delete
2025-05-13 10:48:40 -06:00
stelar7
cf84a98bab
LibWeb/IDB: Implement IDBCursor::update
2025-05-13 10:48:40 -06:00
stelar7
3154ac8988
LibWeb/IDB: Implement IDBCursor::continuePrimaryKey
2025-05-13 10:48:40 -06:00
stelar7
6afa2c8eee
LibWeb/IDB: Implement IDBCursor::advance
2025-05-13 10:48:40 -06:00
stelar7
82d17fa17e
LibWeb/IDB: Sort IDBCursor fields according to IDL
2025-05-13 10:48:40 -06:00
stelar7
a2ecafb968
LibWeb/IDB: Use enum flags in IDBKeyRange
2025-05-13 22:46:43 +12:00
stelar7
a5023ec053
LibWeb/IDB: Use enum flags in IDBCursor
2025-05-13 22:46:43 +12:00
stelar7
a11efe3139
LibWeb/IDB: Sort IDBObjectStore according to the IDL
2025-05-13 08:27:52 +12:00
stelar7
7250aa0b6b
LibWeb/IDB: Implement IDBObjectStore::getAllKeys
2025-05-13 08:27:52 +12:00
stelar7
927237c736
LibWeb/IDB: Implement retrieve_multiple_keys_from_an_object_store
2025-05-13 08:27:52 +12:00
stelar7
c56ec49ce6
LibWeb/IDB: Implement IDBObjectStore::openKeyCursor
2025-05-13 08:27:52 +12:00
stelar7
c700bfaaf1
LibWeb/IDB: Implement IDBObjectStore::getAll
2025-05-13 08:27:52 +12:00
stelar7
ddaae635ac
LibWeb/IDB: Implement retrieve_multiple_values_from_an_object_store
2025-05-13 08:27:52 +12:00
stelar7
7f98d708ef
LibWeb/IDB: Implement IDBObjectStore::getKey
2025-05-13 08:27:52 +12:00
stelar7
c47ddf11ba
LibWeb/IDB: Implement retrieve_a_key_from_an_object_store
2025-05-13 08:27:52 +12:00
stelar7
fa207c8fc6
LibWeb/IDB: Implement IDBObjectStore::clear
2025-05-08 14:13:21 +01:00
stelar7
637f35c0eb
LibWeb/IDB: Implement clear_an_object_store
2025-05-08 14:13:21 +01:00
stelar7
aa35ced34f
LibWeb/IDB: Implement IDBObjectStore::delete
2025-05-08 14:13:21 +01:00
stelar7
1fe6060ff9
LibWeb/IDB: Improve error messages slightly
2025-05-08 14:13:21 +01:00
stelar7
63e1cc7b50
LibWeb/IDB: Implement IDBIndex::open_cursor
2025-05-08 14:13:21 +01:00
stelar7
8f876e824b
LibWeb/IDB: Implement IDBCursor::primary_key
2025-05-08 14:13:21 +01:00
stelar7
141093e032
LibWeb/IDB: Implement IDBCursor::effective_key
2025-05-08 14:13:21 +01:00
stelar7
9d5f6108e4
LibWeb/IDB: Implement recent spec changes
2025-05-06 13:30:37 +01:00
stelar7
2774068ca0
LibWeb/IDB: Initialize the index set in a ObjectStore handle
2025-05-06 11:16:01 +02: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
64c4bea189
LibWeb/IDB: Implement IDBCursor::continue
2025-05-06 11:16:01 +02:00
stelar7
08f73db773
LibWeb/IDB: Return undefined if request was an error
2025-05-06 11:16:01 +02:00
stelar7
d0156e2c88
LibWeb/IDB: Use invalidation reason when returning DataError
2025-05-06 11:16:01 +02:00
stelar7
05fe37619a
LibWeb/IDB: Implement IDBObjectStore::open_cursor
2025-05-06 11:16:01 +02:00
stelar7
98d08b27e4
LibWeb/IDB: Implement iterate_a_cursor
2025-05-06 11:16:01 +02:00
stelar7
0890b10d11
LibWeb/IDB: Improve error messages related to transaction state
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