summaryrefslogtreecommitdiffstats
path: root/layout/tools/layout-debug/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'layout/tools/layout-debug/tests/unit')
-rw-r--r--layout/tools/layout-debug/tests/unit/test_componentsRegistered.js8
-rw-r--r--layout/tools/layout-debug/tests/unit/xpcshell.ini5
2 files changed, 13 insertions, 0 deletions
diff --git a/layout/tools/layout-debug/tests/unit/test_componentsRegistered.js b/layout/tools/layout-debug/tests/unit/test_componentsRegistered.js
new file mode 100644
index 000000000..6a528b768
--- /dev/null
+++ b/layout/tools/layout-debug/tests/unit/test_componentsRegistered.js
@@ -0,0 +1,8 @@
+function run_test() {
+ do_check_true("@mozilla.org/layout-debug/regressiontester;1" in
+ Components.classes);
+ do_check_true("@mozilla.org/layout-debug/layout-debuggingtools;1" in
+ Components.classes);
+ do_check_true("@mozilla.org/commandlinehandler/general-startup;1?type=layoutdebug" in
+ Components.classes);
+} \ No newline at end of file
diff --git a/layout/tools/layout-debug/tests/unit/xpcshell.ini b/layout/tools/layout-debug/tests/unit/xpcshell.ini
new file mode 100644
index 000000000..e0ee46a2c
--- /dev/null
+++ b/layout/tools/layout-debug/tests/unit/xpcshell.ini
@@ -0,0 +1,5 @@
+[DEFAULT]
+head =
+tail =
+
+[test_componentsRegistered.js]