From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- browser/base/content/test/tabs/browser_addTab_index.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 browser/base/content/test/tabs/browser_addTab_index.js (limited to 'browser/base/content/test/tabs/browser_addTab_index.js') diff --git a/browser/base/content/test/tabs/browser_addTab_index.js b/browser/base/content/test/tabs/browser_addTab_index.js new file mode 100644 index 0000000000..abfc0c213e --- /dev/null +++ b/browser/base/content/test/tabs/browser_addTab_index.js @@ -0,0 +1,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); +} -- cgit v1.2.3