Files
ladybird/Libraries/LibWeb/StorageAPI
Timothy Flynn 523e32bbbb LibWeb: Permit storage keys to use non-opaque origins for file:// URLs
Features like localStorage, sessionStorage, and CacheStorage all work on
file:// URLs in other browsers. The spec is a bit uncertain as to when
such URLs should be treated as non-opaque, and leave it "as an exercise
to the reader".

Note that we perform this check in obtain-a-storage-key rather than in
the non-storage method, as the latter is also used for e.g. blob://
URL storage.
2026-04-02 10:21:15 +02:00
..