blob: 442532552612a212318a3ac94fab2787eb567766 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
add_task(async function test_PIN_CURRENT_TAB() {
await BrowserTestUtils.withNewTab("about:blank", async browser => {
await SMATestUtils.executeAndValidateAction({ type: "PIN_CURRENT_TAB" });
ok(gBrowser.selectedTab.pinned, "should pin current tab");
gBrowser.unpinTab(gBrowser.selectedTab);
});
});
|