Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
/* Any copyright is dedicated to the Public Domain.
function test() {
let tab = gBrowser.addTrustedTab("about:blank", { index: 10 });
is(tab._tPos, 1, "added tab index should be 1");
gBrowser.removeTab(tab);
}