blob: f82fa2bf813b93b19c600361b815b6e12cef5c0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
"use strict";
add_task(async function() {
gBrowser.pinTab(gBrowser.selectedTab);
let newTab = gBrowser.duplicateTab(gBrowser.selectedTab);
await promiseTabRestored(newTab);
ok(!newTab.pinned, "duplicating a pinned tab creates unpinned tab");
BrowserTestUtils.removeTab(newTab);
gBrowser.unpinTab(gBrowser.selectedTab);
});
|