brotab
brotab copied to clipboard
API replies "OK" when sending an incorrect tab move request
When sending a tab move request with the wrong (non-recalculated) tab ID, the API will reply "OK" and will not do anything (no tabs will be moved). I've solved it in my script by using the brotab API internal tab rindex ecalculation logic, and I've read the comments in the code that say you want to keep the recalculation logic in extensions - that's fine, but it will be good to have the API respond with something other than "OK" when a move action fails.