summaryrefslogtreecommitdiffstats
path: root/toolkit/components/corroborator/test/xpcshell
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/corroborator/test/xpcshell')
-rw-r--r--toolkit/components/corroborator/test/xpcshell/data/privileged.xpibin4659 -> 0 bytes
-rw-r--r--toolkit/components/corroborator/test/xpcshell/data/signed-amo.xpibin4702 -> 0 bytes
-rw-r--r--toolkit/components/corroborator/test/xpcshell/data/signed-components.xpibin6995 -> 0 bytes
-rw-r--r--toolkit/components/corroborator/test/xpcshell/data/signed-privileged.xpibin4659 -> 0 bytes
-rw-r--r--toolkit/components/corroborator/test/xpcshell/data/unsigned.xpibin528 -> 0 bytes
-rw-r--r--toolkit/components/corroborator/test/xpcshell/test_verify_jar.js31
-rw-r--r--toolkit/components/corroborator/test/xpcshell/xpcshell.toml5
7 files changed, 0 insertions, 36 deletions
diff --git a/toolkit/components/corroborator/test/xpcshell/data/privileged.xpi b/toolkit/components/corroborator/test/xpcshell/data/privileged.xpi
deleted file mode 100644
index c22acaacd2..0000000000
--- a/toolkit/components/corroborator/test/xpcshell/data/privileged.xpi
+++ /dev/null
Binary files differ
diff --git a/toolkit/components/corroborator/test/xpcshell/data/signed-amo.xpi b/toolkit/components/corroborator/test/xpcshell/data/signed-amo.xpi
deleted file mode 100644
index e2ba7d6fd8..0000000000
--- a/toolkit/components/corroborator/test/xpcshell/data/signed-amo.xpi
+++ /dev/null
Binary files differ
diff --git a/toolkit/components/corroborator/test/xpcshell/data/signed-components.xpi b/toolkit/components/corroborator/test/xpcshell/data/signed-components.xpi
deleted file mode 100644
index f27ac1fb73..0000000000
--- a/toolkit/components/corroborator/test/xpcshell/data/signed-components.xpi
+++ /dev/null
Binary files differ
diff --git a/toolkit/components/corroborator/test/xpcshell/data/signed-privileged.xpi b/toolkit/components/corroborator/test/xpcshell/data/signed-privileged.xpi
deleted file mode 100644
index c22acaacd2..0000000000
--- a/toolkit/components/corroborator/test/xpcshell/data/signed-privileged.xpi
+++ /dev/null
Binary files differ
diff --git a/toolkit/components/corroborator/test/xpcshell/data/unsigned.xpi b/toolkit/components/corroborator/test/xpcshell/data/unsigned.xpi
deleted file mode 100644
index 9e10be5db3..0000000000
--- a/toolkit/components/corroborator/test/xpcshell/data/unsigned.xpi
+++ /dev/null
Binary files differ
diff --git a/toolkit/components/corroborator/test/xpcshell/test_verify_jar.js b/toolkit/components/corroborator/test/xpcshell/test_verify_jar.js
deleted file mode 100644
index c1c98f4485..0000000000
--- a/toolkit/components/corroborator/test/xpcshell/test_verify_jar.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
-/* vim: set sts=2 sw=2 et tw=80: */
-"use strict";
-
-const { Corroborate } = ChromeUtils.importESModule(
- "resource://gre/modules/Corroborate.sys.mjs"
-);
-
-add_task(async function test_various_jars() {
- let result = await Corroborate.verifyJar(do_get_file("data/unsigned.xpi"));
- equal(result, false, "unsigned files do not verify");
-
- result = await Corroborate.verifyJar(do_get_file("data/signed-amo.xpi"));
- equal(result, false, "AMO signed files do not verify");
-
- result = await Corroborate.verifyJar(
- do_get_file("data/signed-privileged.xpi")
- );
- equal(result, false, "Privileged signed files do not verify");
-
- let missingFile = do_get_file("data");
- missingFile.append("missing.xpi");
-
- result = await Corroborate.verifyJar(missingFile);
- equal(result, false, "Missing (but expected) files do not verify");
-
- result = await Corroborate.verifyJar(
- do_get_file("data/signed-components.xpi")
- );
- equal(result, true, "Components signed files do verify");
-});
diff --git a/toolkit/components/corroborator/test/xpcshell/xpcshell.toml b/toolkit/components/corroborator/test/xpcshell/xpcshell.toml
deleted file mode 100644
index d30b8dfb17..0000000000
--- a/toolkit/components/corroborator/test/xpcshell/xpcshell.toml
+++ /dev/null
@@ -1,5 +0,0 @@
-[DEFAULT]
-tags = "corroborator"
-support-files = ["data/**"]
-
-["test_verify_jar.js"]