Closed Bug 1536384 Opened 6 years ago Closed 6 years ago

On Android `tabs.captureTab(tabId)` captures active tab only, ignoring "tabId" parameter

Categories

(WebExtensions :: Android, defect)

65 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: juraj.masiar, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

Based on the docs, the captureTab function should work on Android and take screenshot of tab with specified tabId:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/captureTab

Actual results:

Only active tab is being shot, the parameter tabId is ignored.

Expected results:

Target tab should be shot.

Actually

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID

Actually the captureTab API is not in Android at all.
The fact that it was taking the screenshot in my case is that a fallback code (used for Chrome) was executed instead when default screenshot taking promise failed :)

You need to log in before you can comment on or make changes to this bug.