diff options
Diffstat (limited to 'application/basilisk/tools/mozscreenshots/primaryUI')
-rw-r--r-- | application/basilisk/tools/mozscreenshots/primaryUI/browser.ini | 6 | ||||
-rw-r--r-- | application/basilisk/tools/mozscreenshots/primaryUI/browser_primaryUI.js | 18 |
2 files changed, 24 insertions, 0 deletions
diff --git a/application/basilisk/tools/mozscreenshots/primaryUI/browser.ini b/application/basilisk/tools/mozscreenshots/primaryUI/browser.ini new file mode 100644 index 000000000..628520b23 --- /dev/null +++ b/application/basilisk/tools/mozscreenshots/primaryUI/browser.ini @@ -0,0 +1,6 @@ +[DEFAULT] +subsuite = screenshots +support-files = + ../head.js + +[browser_primaryUI.js] diff --git a/application/basilisk/tools/mozscreenshots/primaryUI/browser_primaryUI.js b/application/basilisk/tools/mozscreenshots/primaryUI/browser_primaryUI.js new file mode 100644 index 000000000..6d0eaa1d6 --- /dev/null +++ b/application/basilisk/tools/mozscreenshots/primaryUI/browser_primaryUI.js @@ -0,0 +1,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"); +}); |