Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
1 /* Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ */
4 /*
5 * The list of phases mapped to their corresponding profiles. The object
6 * here must be in strict JSON format, as it will get parsed by the Python
7 * testrunner (no single quotes, extra comma's, etc).
8 */
10 EnableEngines(["addons"]);
12 let phases = { "phase1": "profile1",
13 "phase2": "profile1" };
15 const id = "unsigned-xpi@tests.mozilla.org";
17 Phase("phase1", [
18 [Addons.install, [id]],
19 // Non-restartless add-on shouldn't be found after install.
20 [Addons.verifyNot, [id]],
22 // But it should be marked for Sync.
23 [Sync]
24 ]);
26 Phase("phase2", [
27 // Add-on should be present after restart
28 [Addons.verify, [id], STATE_ENABLED]
29 ]);