Simple Signed XPI Testcases
we know you always wanted a signed install
Before running any of these tests, you must install this CA cert.
x509.cacert.
Please remove this cert when you are done testing.
If you don't know what I am talking about, do not proceed.
This first test is the only test case which is signed and should work:
signed.xpi
This test includes a extra file and should be reported as a broken
install:
signed-extrafile.xpi
This test removes a file and should be reported as a broken install:
signed-missingfile.xpi
This test removes the rsa file. This file will be reported as
unsigned:
signed-norsa.xpi
This test removes the sf file. This should be reported as a
broken install:
signed-nosf.xpi
This file is missing the manifest. This should be reported as a
broken install:
signed-nomanifest.xpi
This file is signed by a CA that is not installed.. This should be treated as a unsigned install:
signed-badca.xpi
This file is signed but the contents have been modified. This should be treated as a broken install:
signed-modified.xpi