blob: 5ad1fe44d14361d4079c13506e27d0e73d3d8e8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
add_task(async function test_policy_offertosavelogins() {
await setupPolicyEngineWithJson({
policies: {
OfferToSaveLogins: false,
},
});
await BrowserTestUtils.withNewTab(
"about:preferences#privacy",
async browser => {
is(
browser.contentDocument.getElementById("savePasswords").disabled,
true,
"Save passwords is disabled"
);
}
);
});
|