summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/tabs/browser_addTab_index.js
blob: abfc0c213e7257c2f66e1154368a8001a8e8828d (plain)
1
2
3
4
5
6
7
8
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */

function test() {
  let tab = gBrowser.addTrustedTab("about:blank", { index: 10 });
  is(tab._tPos, 1, "added tab index should be 1");
  gBrowser.removeTab(tab);
}