chrome.tabs.detectLanguage bug
-
acvetkov last edited by
chrome.tabs.detectLanguage(tabId, function(lang) {
// this callback never calls
// unreachable place
});reproduce steps:
- open en.wikipedia.org
- in extension background page call chrome.tabs.query({}, console.log.bind(console)); // invokes array of chrome.tab.Tab object
- detect wikipedia tab id (for example, 10);
- call chrome.tabs.detectLanguage(10, function(lang) {
// never calls
});
This problem is actual since 25 major version.
-
vitpotapov last edited by
+1
Also faced with that problem! Please fix it!ps: In google chrome
tabs.detectLanguage
works fine. -
gustavwiz last edited by
Confirmed in Opera developer 32. https://dev.opera.com/extensions/apis.html here it should stand if detectLanguage's not supported. It does not.