tabs.captureVisibleTab() not working in manifest v3 for firefox
Categories
(Firefox :: Extension Compatibility, defect)
Tracking
()
People
(Reporter: neelabhnagaich, Unassigned)
Details
Attachments
(1 file)
|
1.71 KB,
application/x-zip-compressed
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Steps to reproduce:
While migrating my addon to manifest v3, I am not able to execute method tabs.captureVisibleTab(), even after adding all the premissions as mentioned in the docs.
Here is my manifest for permission looks like:
"permissions": [
"downloads",
"cookies",
"tabs",
"activeTab",
"storage",
"menus",
"contextMenus",
"notifications",
"unlimitedStorage"
],
"host_permissions": [
"<all_urls>"
],
Actual results:
captureVisibleTab method is undefined.
Expected results:
tabs.captureVisibleTab() should not be undefined after adding the requied permissions in mv3.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
A correct component seems to be (Firefox) Extension Compatibility. If incorrect, please set the right one.
@Neelabh: Could you please explain how I should use the attached file in order to reproduce the issue?
Thank you for your contribution!
Hello Daniel,
On discussing on community forum I came to know that we need to provide the option permission manually after which this seems to be working fine and I am able to execute this method.
It's just that with MV3 we need to do this extra permission step.
Thanks for your reply I think this bug can be closed.
Comment 4•2 years ago
|
||
Closing this report based on the last comment.
Description
•