New issue
Advanced search Search tips

Issue 718267 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

[Media Router] Can't cast tab in incognito mode with dev extension

Project Member Reported by imch...@chromium.org, May 4 2017

Issue description

Repro steps:
1) Load dev Media Router extension
2) Open incognito tab
3) Cast tab

Expected: it works.
Actual: it fails to cast.

The reason is that chrome.tabs.get() fails to find the given tab because the dev extension does not have proper permissions to for the chrome.tabs API implementation to include incognito tabs in the search.

I did some digging and found that "include incognito" is guarded by the "whitelisted_for_incognito" feature. The whitelist is defined in extensions/common/api/_behavior_features.json, and once I added an entry for Media Router dev extension and remove the "location": "external_component" entry, it works.

Devlin: Would you be ok with making the modification mentioned above, or is there another workaround available?
 
You can also manually click the checkbox in chrome://extensions if debugging incognito
Status: WontFix (was: Untriaged)
Ah you are right; somehow I did not remember that checkbox. Checking it solved the issue. 

Sign in to add a comment