summaryrefslogtreecommitdiffstats
path: root/browser/components/firefoxview/tests/browser/browser_firefoxview.js
blob: 5ac9dd4c7b7bd1698711995edb593bc8acf8a802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */

add_task(async function about_firefoxview_smoke_test() {
  await withFirefoxView({}, async browser => {
    const { document } = browser.contentWindow;

    // sanity check the important regions exist on this page
    ok(
      document.getElementById("tab-pickup-container"),
      "tab-pickup-container element exists"
    );
    ok(
      document.getElementById("recently-closed-tabs-container"),
      "recently-closed-tabs-container element exists"
    );
  });
});