The permissions in your manifest.json
is missing one item, which is "scripting"
.
It should look like this:
…
"permissions": ["storage", "declarativeContent", "activeTab", "scripting"],
…
This is actually seen on the Getting Started page here.