mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-17 18:03:06 +09:00
21 lines
574 B
JavaScript
21 lines
574 B
JavaScript
/* 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.
|
|
|
|
"use strict";
|
|
|
|
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");
|
|
});
|