| Index: chrome/test/data/extensions/api_test/networking_private/chromeos/test.js
|
| diff --git a/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js b/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js
|
| index a2d7084009a31c9f675f23b78b205e19f91fd053..30624a9c8efbad75b3cb6ab354fc91aeba0fcc77 100644
|
| --- a/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js
|
| +++ b/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js
|
| @@ -227,6 +227,20 @@ var availableTests = [
|
| }));
|
| }));
|
| },
|
| + function forgetPolicyControlledNetwork() {
|
| + chrome.networkingPrivate.getProperties('stub_wifi2', callbackPass(function(
|
| + properties) {
|
| + // Sanity check to verify there is a policy defined config for the network
|
| + // config that will be set up in this test.
|
| + chrome.test.assertEq('UserPolicy', properties.Source);
|
| + chrome.test.assertEq('WiFi', properties.Type);
|
| + chrome.test.assertEq('WPA-PSK', properties.WiFi.Security);
|
| + chrome.test.assertEq('wifi2_PSK', properties.WiFi.SSID);
|
| +
|
| + chrome.networkingPrivate.forgetNetwork(
|
| + 'stub_wifi2', callbackFail('Error.PolicyControlled'));
|
| + }));
|
| + },
|
| function getNetworks() {
|
| // Test 'type' and 'configured'.
|
| var filter = {
|
|
|