Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: browser.storage should not include unknown keys in the result #15

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 20, 2024

  1. fix: browser.storage should not include unknown keys in the result

    As described in the [documentation](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/get), when the key is not present in the storage, it should be completely missing from the `.get()` result as well. The current mock implementation was returning the key in the result with `undefined` value.
    
    Also the lastly added session storage mock was sharing data with local storage.
    MikkCZ committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    ccf4f19 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. fix: build

    MikkCZ committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    c0d68f1 View commit details
    Browse the repository at this point in the history