Right. Calling localStorage from an alternate Chrome page, Browser Action page, or Page Action page uses local extension storage.
Content scripts run only on regular web pages and, as a rule, cannot access the Chrome extension API, so their local access to the store will be limited to local storage on the local computer.
source share