blob: c3b9aa884a9a2ae3b73f166a4219efe7c12e68e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
add_task(async function test_open_firefoxview() {
const tabPromise = BrowserTestUtils.waitForNewTab(
gBrowser,
"about:firefoxview"
);
await SMATestUtils.executeAndValidateAction({
type: "OPEN_FIREFOX_VIEW",
});
const tab = await tabPromise;
ok(tab, "should open about:firefoxview in a new tab");
BrowserTestUtils.removeTab(tab);
});
|