New issue
Advanced search Search tips

Issue 859496 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 839857
Owner:
Closed: Jul 2
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Since Chrome 67 chrome.tabs.captureVisibleTab doesn't work for non-web pages

Reported by lanzk...@gmail.com, Jul 2

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
1. Create an extension with 'tabs' permission and content_scripts: matches: ["<all_urls>" ], match_about_blank: true
2. Run chrome.tabs.captureVisibleTab for about:blank, about:extensions and the new-tab page

What is the expected behavior?
Screenshot is captured for all the listed pages (as it was for versions of Chrome up till 66)

What went wrong?
Different errors for different pages:
* about:blank - Cannot access contents of url "about:blank". Extension manifest must request permission to access this host.
* about:extensions - The 'activeTab' permission is not in effect because this extension has not been in invoked.
* new-tab page - there is no error but nothing is returned either

Did this work before? Yes 66

Chrome version: 67.0.3396.99  Channel: stable
OS Version: 10.0
Flash Version:
 
I forgot to note that this happens on Linux as well as Windows.
Duplicate of  bug 839857 .
Labels: Needs-Bisect Needs-Triage-M67
Components: -Platform>DevTools Platform>Extensions
Owner: rdevlin....@chromium.org
Status: Assigned (was: Unconfirmed)
Devlin, can you confirm if this is a duplicate of  issue 839857  and merge it if so?
Mergedinto: 839857
Status: Duplicate (was: Assigned)
Duplicate indeed.
Sorry about the duplication, my searches didn't bring it up.

Thanks, for your work.

Sign in to add a comment