Comment #1 on issue 25001 by fernando.serboncini: Extensions API methods
have optional params before non-optional ones... thus making non of them
optional
http://code.google.com/p/chromium/issues/detail?id=25001
I don't think the problem is with paramter order, but I can confirm that on
chrome.tabs.getSelected() if you pass a single parameter it assumes it is
the
windowId, not the callbackFunction.
To make it work I had to do chrome.tabs.getSelected(null, function() { ...
});
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs