gecko-dev/browser/base/content/test/tabs/browser_addTab_index.js
Victor Porof f9f5914039 Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36041

--HG--
extra : source : 96b3895a3b2aa2fcb064c85ec5857b7216884556
2019-07-05 09:48:57 +02:00

9 lines
273 B
JavaScript

/* 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);
}