Code:
function save(){
chrome.storage.sync.set({"test": "123"}, function(){
console.log("Value is set");
});
}
This function is located in my background script but when called doesn't save anything.
The storage permission is granted in the manifest.