New issue
Advanced search Search tips

Issue 863755 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

chrome.tabs.move api documentation error

Reported by tomguo1...@gmail.com, Jul 15

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
NA

What is the expected behavior?

What went wrong?
In https://developer.chrome.com/extensions/tabs

move
chrome.tabs.move(integer or array of integer tabIds, object moveProperties, function callback)

for the second parameter moveProperties

integer	index	
The position to move the window to. -1 will place the tab at the end of the window.

Shouldn't it be "The position (in the window) to move the tab(s) to"? Also specify what happens when there are multiple tabs to move. My guess is the target indices of the tabs moved are successively incremented by one. Basically, on move([tab1, ..., tabn], targetIndex), the result would be tab1 at targetIndex, tab2 at targetIndex+1, ..., tabn at targetIndex+n-1, right?

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 67.0.3396.99  Channel: stable
OS Version: OS X 10.10.5
Flash Version:
 
Labels: Needs-Triage-M67
Components: Platform>Extensions>Documentation
Cc: viswa.karala@chromium.org
Labels: Triaged-ET TE-NeedsTriageHelp
Thanks for filing the issue!

As per comment# 0, this issue seems out of scope for TE team to triage, hence adding TE-NeedsTriageHelp label to it and requesting someone from the Platform>Extensions>Documentation team to provide further inputs on this issue.

Thanks!

Sign in to add a comment