Skip to content

chrome.storage.Storage.sync.set and get not working #47

@dportabella

Description

@dportabella

After executing this scalajs code:

chrome.storage.Storage.sync.set(Map("key1" -> "value1"))

this javascript code

chrome.storage.sync.get(undefined, function(result) { console.log(JSON.stringify(result)); });

shows {"value1$5":"value1"} instead of {"key1":"value1"}
is this a bug?

also,

chrome.storage.Storage.sync.get(js.undefined).foreach(println)

throws an Error. why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions