chrome.tabs.captureVisibleTab become unstable!!!!!

304 views
Skip to first unread message

luo Diigo

unread,
Jun 24, 2014, 12:01:40 AM6/24/14
to chromium-...@chromium.org
I have a extension using chrome.tabs.captureVisibleTab. It works well until the "chrome.tabs.captureVisibleTab" begin to return undefined instead of the dataUrl; I have tried to disabled it and re enable it again. Still not working. The only way to solve this is to remove it and re-install it.
BTW, I have declare the permission "<all_urls>". Is that a bug of chrome? 

mea...@chromium.org

unread,
Jun 26, 2014, 5:44:06 PM6/26/14
to chromium-...@chromium.org
Yes, this is a bug: http://crbug.com/339703

luo Diigo

unread,
Jun 29, 2014, 9:11:44 PM6/29/14
to chromium-...@chromium.org, mea...@chromium.org
Is there a workaround for this?

在 2014年6月27日星期五UTC+8上午5时44分06秒,mea...@chromium.org写道:

Marc Fawzi

unread,
Jun 29, 2014, 10:26:50 PM6/29/14
to luo Diigo, chromium-...@chromium.org, mea...@chromium.org
I have a theory about the error but I think the Chrome developers know better. It might be that the visible tab has lost focus and when the user clicks the browser action to capture the visible tab the API throws an error because the physical tab is not focused? Just a random guess.

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/793a5eb6-5d89-4b51-9ee2-7c0700d35714%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
Reply all
Reply to author
Forward
0 new messages