Luke Wilde
52b53e52fb
LibWeb/IndexedDB: Remove spin_until from waiting for connection closure
2025-10-08 17:25:29 +02:00
Luke Wilde
5c69784ef9
LibWeb/IndexedDB: Remove spin_until from request processing
2025-10-08 17:25:29 +02:00
Andreas Kling
5e6b8b2785
LibWeb: Add missing visit of IDBRequest::m_source
...
Clang plugin bug: LadybirdBrowser/ladybird#5959
2025-08-22 19:29:29 +02:00
stelar7
474b748275
LibWeb/IDB: Check the request error instead of the transaction
2025-08-14 09:31:56 +01:00
Timothy Flynn
70db474cf0
LibJS+LibWeb: Port interned bytecode strings to UTF-16
...
This was almost a no-op, except we intern JS exception messages. So the
bulk of this patch is porting exception messages to UTF-16.
2025-08-14 10:27:08 +02:00
stelar7
08f73db773
LibWeb/IDB: Return undefined if request was an error
2025-05-06 11:16:01 +02:00
stelar7
d801d25c82
LibWeb/IDB: Change return type of IDBRequest::error()
2025-04-23 12:31:14 -06:00
Andreas Kling
a6dfc74e93
LibWeb: Only set prototype once for object with IDL interface
...
Before this change, we were going through the chain of base classes for
each IDL interface object and having them set the prototype to their
prototype.
Instead of doing that, reorder things so that we set the right prototype
immediately in Foo::initialize(), and then don't bother in all the base
class overrides.
This knocks off a ~1% profile item on Speedometer 3.
2025-04-20 18:43:11 +02:00
stelar7
6ec914c7f7
LibWeb/IDB: Add some debug output
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
923927564d
LibWeb/IDB: Set the source of a IDBRequest
2025-03-25 10:50:03 +00:00
stelar7
1656d8fe07
LibWeb: Implement most of upgrade_a_database for IndexedDB
2024-11-26 14:50:27 +01:00
stelar7
49ad27816b
LibWeb: Properly implement IDBRequest::result()
2024-11-26 14:50:27 +01:00
stelar7
204d776cdb
LibWeb: Properly implement IDBRequest::error()
2024-11-26 14:50:27 +01:00
stelar7
29ddaa76e7
LibWeb: Implement IDBRequest::ready_state()
2024-11-26 14:50:27 +01:00
Shannon Booth
f87041bf3a
LibGC+Everywhere: Factor out a LibGC from LibJS
...
Resulting in a massive rename across almost everywhere! Alongside the
namespace change, we now have the following names:
* JS::NonnullGCPtr -> GC::Ref
* JS::GCPtr -> GC::Ptr
* JS::HeapFunction -> GC::Function
* JS::CellImpl -> GC::Cell
* JS::Handle -> GC::Root
2024-11-15 14:49:20 +01:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00