kiwibrowser / src.next

Source-code for Kiwi Next, a Kiwi Browser auto-rebased with latest Chromium
BSD 3-Clause "New" or "Revised" License
2.11k stars 265 forks source link

extension captureVisibleTab not working #945

Open qttq23 opened 11 months ago

qttq23 commented 11 months ago

Describe the bug I'm trying an extension to capture screenshot of an active tab. the following code worked on Windows Edge but not on Android Kiwi Browser:

chrome.tabs.captureVisibleTab(
 (dataUrl ) => { console.log(dataUrl); }
);

api reference

the dataUrl is undefined and the error is: 'Unchecked runtime.lastError: No active web contents to capture'.

To Reproduce as described

Expected behavior as described

Screenshots image

Smartphone (please complete the following information):

Additional context The tab is still active, though, i can't update its properties such as 'highlighted' or 'selected'. Another weird finding is the tab's windowId is different from the only window's id? image

killergerbah commented 4 months ago

I have observed the same issue.