mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-24 19:28:48 +00:00
LibWeb/IDB: Fix a bug where the KeyGenerator was not incremented
This commit is contained in:
parent
facfcd87c2
commit
577f799240
Notes:
github-actions[bot]
2025-04-28 09:32:51 +00:00
Author: https://github.com/stelar7
Commit: 577f799240
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4476
Reviewed-by: https://github.com/gmta ✅
4 changed files with 8 additions and 7 deletions
|
@ -31,7 +31,7 @@ public:
|
|||
|
||||
// https://w3c.github.io/IndexedDB/#dom-idbobjectstore-autoincrement
|
||||
// The autoIncrement getter steps are to return true if this’s object store has a key generator, and false otherwise.
|
||||
bool auto_increment() const { return m_store->key_generator().has_value(); }
|
||||
bool auto_increment() const { return m_store->uses_a_key_generator(); }
|
||||
JS::Value key_path() const;
|
||||
String name() const { return m_name; }
|
||||
WebIDL::ExceptionOr<void> set_name(String const& value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue