blob: 3615fba7f38e563911bfc6fd7b6248f15f0254e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/**
* This tests APIs that are relied on by external consumers such as fuzzers,
* which could be broken if modified with regard only to in-tree code.
*/
// getRealmConfiguration and getBuildConfiguration
// If API changes are planned here, be sure to notify anyone who is fuzzing SM.
config = getRealmConfiguration();
assertEq(typeof config, "object");
for (const [key, value] of Object.entries(config)) {
assertEq(getRealmConfiguration(key), value);
}
config = getBuildConfiguration();
assertEq(typeof config, "object");
for (const [key, value] of Object.entries(config)) {
assertEq(getBuildConfiguration(key), value);
}
|