brotab icon indicating copy to clipboard operation
brotab copied to clipboard

API replies "OK" when sending an incorrect tab move request

Open CRImier opened this issue 5 years ago • 0 comments

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.

CRImier avatar Sep 08 '20 21:09 CRImier