1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00
ladybird/Tests
Timothy Flynn 4dfc29356d LibWeb: Initialize the Storage byte count upon creation
A Storage object may be created with an existing storage bottle. For
example, if you navigate from site.com/page1 to site.com/page2, they
will have different localStorage objects, but will use the same bottle
for actual storage.

Previously, if page1 set some key/value item, we would initialize the
byte count to 0 on page2 despite having a non-empty bottle. Thus, if
page2 set a smaller value with the same key, we would overflow the
computed byte count, and all subsequent writes would be rejected.

This was seen navigating from the chess.com home page to the daily
puzzle page.
2025-03-18 20:34:13 +01:00
..
AK AK/Checked: Dont verify overflow bit in lvalue operations 2025-02-25 11:20:13 +00:00
ClangPlugins LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00
LibCompress LibCompress: Remove unused Lzma compression and decompression 2025-02-10 16:22:32 +00:00
LibCore LibCore: Add swift bindings for EventLoop as an Executor and Actor 2025-03-15 21:51:22 -06:00
LibCrypto LibCrypto: Remove unused GHash class 2025-03-02 15:11:38 +01:00
LibDiff LibDiff: Fix wrong index used when prepending context lines 2023-09-11 12:10:50 +01:00
LibDNS LibDNS: Ensure non-blocking socket is used for TCP connections 2025-02-22 18:39:58 +01:00
LibGC Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
LibGfx LibGfx: Add Rect::unite() 2025-01-23 09:33:10 +01:00
LibJS AK+Everywhere: Convert JSON value serialization to String 2025-02-20 19:27:51 -05:00
LibMedia Meta: Consolidate checking for the system audio backend 2024-12-25 12:00:43 +01:00
LibRegex LibRegex: Remove orphaned save points in nested LookAhead 2025-03-17 16:11:02 +01:00
LibTest Everywhere: Remove LibSQL, SQLServer, and the sql REPL :^) 2024-06-06 11:27:03 -04:00
LibTextCodec LibTextCodec: Add SingleByteEncoders 2024-10-10 10:39:28 +02:00
LibThreading LibThreading: Remove the thread pool 2024-09-22 14:07:16 -04:00
LibTLS LibCrypto: Remove unused Certificate class 2025-02-18 00:02:26 +01:00
LibUnicode LibUnicode: Consistently reject out-of-bounds segmenter indices 2025-01-16 23:22:48 +01:00
LibURL LibURL/Pattern: Implement the constructor string parser 2025-03-15 07:39:03 -04:00
LibWasm LibJS+LibWeb: Use realm.create<T> instead of heap.allocate<T> 2024-11-13 16:51:44 -05:00
LibWeb LibWeb: Initialize the Storage byte count upon creation 2025-03-18 20:34:13 +01:00
LibWebView LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
LibXML LibXML: Read code points when parsing names 2024-11-06 10:07:52 +01:00
Resources Tests: Annotate configurationJSON in SwiftTestMain with noisolate 2024-11-26 11:00:48 +01:00
CMakeLists.txt LibDNS: Add basic DNS::Resolver tests 2025-02-18 15:46:44 +01:00