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