mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
Import Tycho weave client
This commit is contained in:
parent
e4ac0e17f8
commit
c53787dfdb
183 changed files with 7272 additions and 16759 deletions
|
|
@ -10,7 +10,7 @@ function makeSteamEngine() {
|
|||
return new SyncEngine('Steam', Service);
|
||||
}
|
||||
|
||||
var server;
|
||||
let server;
|
||||
|
||||
function test_url_attributes() {
|
||||
_("SyncEngine url attributes");
|
||||
|
|
@ -35,12 +35,12 @@ function test_syncID() {
|
|||
do_check_eq(Svc.Prefs.get("steam.syncID"), undefined);
|
||||
|
||||
// Performing the first get on the attribute will generate a new GUID.
|
||||
do_check_eq(engine.syncID, "fake-guid-00");
|
||||
do_check_eq(Svc.Prefs.get("steam.syncID"), "fake-guid-00");
|
||||
do_check_eq(engine.syncID, "fake-guid-0");
|
||||
do_check_eq(Svc.Prefs.get("steam.syncID"), "fake-guid-0");
|
||||
|
||||
Svc.Prefs.set("steam.syncID", Utils.makeGUID());
|
||||
do_check_eq(Svc.Prefs.get("steam.syncID"), "fake-guid-01");
|
||||
do_check_eq(engine.syncID, "fake-guid-01");
|
||||
do_check_eq(Svc.Prefs.get("steam.syncID"), "fake-guid-1");
|
||||
do_check_eq(engine.syncID, "fake-guid-1");
|
||||
} finally {
|
||||
Svc.Prefs.resetBranch("");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue