blob: 2cb0e3000f454a4f53c0031bd83b6eb534b2924d (
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 () => {
await SMATestUtils.executeAndValidateAction({ type: "PIN_CURRENT_TAB" });
ok(gBrowser.selectedTab.pinned, "should pin current tab");
gBrowser.unpinTab(gBrowser.selectedTab);
});
});
|