summaryrefslogtreecommitdiffstats
path: root/browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js
blob: 6d0eaa1d66c7dee90d1f1e6a43465699a555c1f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* import-globals-from ../head.js */

"use strict";

add_task(function* capture() {
  if (!shouldCapture()) {
    return;
  }

  requestLongerTimeout(20);

  let sets = ["TabsInTitlebar", "Tabs", "WindowSize", "Toolbars", "LightweightThemes"];
  yield TestRunner.start(sets, "primaryUI");
});