ladybird/Libraries/LibWeb/StorageAPI
Shannon Booth c6fab541b7 LibWeb: Fix storage set broadcast event never broadcasting old value
We had skipped some steps in the spec and were:
 * Always broadcasting an old value of null, instead of what it
   actually was previously.
 * Still broadcasting a storage event even if the value had
   not changed in storage compared to the last value.

Fix both issues by returning what the old value is in the setter and
implementing the missing logic.
2026-01-21 22:27:59 +01:00
..
NavigatorStorage.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
NavigatorStorage.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
NavigatorStorage.idl Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
StorageBottle.cpp LibWeb: Fix storage set broadcast event never broadcasting old value 2026-01-21 22:27:59 +01:00
StorageBottle.h LibWeb: Fix storage set broadcast event never broadcasting old value 2026-01-21 22:27:59 +01:00
StorageEndpoint.cpp Everywhere: Implement persistence of localStorage using sqlite 2025-06-12 17:04:35 +02:00
StorageEndpoint.h Everywhere: Implement persistence of localStorage using sqlite 2025-06-12 17:04:35 +02:00
StorageKey.cpp LibWeb/Storage: Add a storage key getter that takes a URL::Origin 2025-01-21 19:22:07 +00:00
StorageKey.h Everywhere: Implement persistence of localStorage using sqlite 2025-06-12 17:04:35 +02:00
StorageManager.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
StorageManager.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
StorageManager.idl Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
StorageShed.cpp Everywhere: Implement persistence of localStorage using sqlite 2025-06-12 17:04:35 +02:00
StorageShed.h Everywhere: Implement persistence of localStorage using sqlite 2025-06-12 17:04:35 +02:00
StorageShelf.cpp Everywhere: Implement persistence of localStorage using sqlite 2025-06-12 17:04:35 +02:00
StorageShelf.h Everywhere: Implement persistence of localStorage using sqlite 2025-06-12 17:04:35 +02:00
StorageType.h LibWeb: Correctly initialize Storage objects on the Document 2025-01-02 11:31:15 +01:00