tenfourfox/devtools/client/styleeditor/test/browser_styleeditor_xul.js
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

20 lines
588 B
JavaScript

/* vim: set ts=2 et sw=2 tw=80: */
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that the style-editor initializes correctly for XUL windows.
waitForExplicitFinish();
const TEST_URL = TEST_BASE + "doc_xulpage.xul";
add_task(function*() {
let tab = yield addTab(TEST_URL);
let target = TargetFactory.forTab(tab);
let toolbox = yield gDevTools.showToolbox(target, "styleeditor");
let panel = toolbox.getCurrentPanel();
ok(panel, "The style-editor panel did initialize correctly for the XUL window");
});