Hi All,
I have a page action, enabled with declarativeContent.
The page action opens additional tabs during its execution using window.open(url). It waits for these additional tabs to complete loading, so the extension has also "tabs" permission.
When in incognito mode, as to avoid that window.open() opens the tab in normal mode not having access to the incognito mode cookies, I have added the "incognito": "split" key to the manifest.
The page action extension works well when run locally, that is, when I reach a page that matches declarativeContent in incognito mode, the page action icon is enabled and I can click it.
However, if I publish to the Chrome Web Store and install it from Web Store, when I reach a page that matches declarativeContent in incognito mode that page action icon is disabled and I cannot click it.
This behavior seems to the caused by the presence in the manifest of the "key" key added by the Web Store publishing process.
Is is that bug in Chrome or am I missing anything?
The behavior is the same for Chromium (latest build): It seems that if the manifest contains both a "key" key and a "incognito": "split" key, then declarativeContent is ignored when in incognito mode.
Regards,
Pep.