diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
commit | da4c7e7ed675c3bf405668739c3012d140856109 (patch) | |
tree | cdd868dba063fecba609a1d819de271f0d51b23e /toolkit/components/contentprefs/tests/unit_cps2 | |
parent | Adding upstream version 125.0.3. (diff) | |
download | firefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip |
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/contentprefs/tests/unit_cps2')
-rw-r--r-- | toolkit/components/contentprefs/tests/unit_cps2/head.js | 4 | ||||
-rw-r--r-- | toolkit/components/contentprefs/tests/unit_cps2/test_migrationToSchema4.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/components/contentprefs/tests/unit_cps2/head.js b/toolkit/components/contentprefs/tests/unit_cps2/head.js index c500d2bf01..bf5dcf2bc8 100644 --- a/toolkit/components/contentprefs/tests/unit_cps2/head.js +++ b/toolkit/components/contentprefs/tests/unit_cps2/head.js @@ -82,7 +82,7 @@ function setWithDate(group, name, val, timestamp, context) { }); } -async function getDate(group, name, context) { +async function getDate(group, name) { let conn = await sendMessage("db"); let [result] = await conn.execute( ` @@ -158,7 +158,7 @@ async function getGlobalOK(args, expectedVal) { await getOKEx("getGlobal", args, expectedPrefs); } -async function getOKEx(methodName, args, expectedPrefs, strict, context) { +async function getOKEx(methodName, args, expectedPrefs, strict) { let actualPrefs = []; await new Promise(resolve => { args.push( diff --git a/toolkit/components/contentprefs/tests/unit_cps2/test_migrationToSchema4.js b/toolkit/components/contentprefs/tests/unit_cps2/test_migrationToSchema4.js index 916fc55498..c5faf1a833 100644 --- a/toolkit/components/contentprefs/tests/unit_cps2/test_migrationToSchema4.js +++ b/toolkit/components/contentprefs/tests/unit_cps2/test_migrationToSchema4.js @@ -25,7 +25,7 @@ BEGIN TRANSACTION; CREATE INDEX prefs_idx ON prefs(groupID, settingID); COMMIT;`; -function prepareVersion3Schema(callback) { +function prepareVersion3Schema() { var dbFile = Services.dirsvc.get("ProfD", Ci.nsIFile); dbFile.append("content-prefs.sqlite"); |