summaryrefslogtreecommitdiffstats
path: root/testing/xpcshell/example/unit/xpcshell-with-prefs.toml
blob: 047521865ef185daee262653be5bdf89fe760aac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[DEFAULT]
head = ""
support-files = ["prefs_test_common.js"]
prefs = [
  "dummy.pref.from.test.ancestor='Ancestor'",
  "dummy.pref.from.test.manifest=1",
]

["include:xpcshell-included-with-prefs.toml"]

["test_prefs_defaults.js"]

["test_prefs_defaults_and_file.js"]
prefs = [
  "dummy.pref.from.test.file=2",
  "dummy.pref.from.test.manifest=1337", # overrides manifest
  "dummy.pref.from.test.duplicate='first'", # Multiple prefs, for additional test coverage over xpcshell.toml
  "dummy.pref.from.test.duplicate='final'",
]