function testSetFeatureNotAllowed(feature, value) {
  var expectedError = 'You do not have permission to access the preference ' +
      '\'' + feature + '\'. Be sure to declare in your manifest what ' +
      'permissions you need.';

  chrome.accessibilityFeatures[feature].set(
      {value: value},
      chrome.test.callbackFail(expectedError));
}
/**
 * Tests that the extension is not able to modify a feature value.
 * @param {string} feature The feature to be modified.
 * @param {boolean} value The value the feature should be set to.
 */
Tests that the extension is not able to modify a feature value.
@param {string} feature The feature to be modified.
@param {boolean} value The value the feature should be set to.
Tests that the extension is not able to modify a feature value . @param { string } feature The feature to be modified . @param { boolean } value The value the feature should be set to .
function testSetFeatureNotAllowed(feature, value) {
  var expectedError = 'You do not have permission to access the preference ' +
      '\'' + feature + '\'. Be sure to declare in your manifest what ' +
      'permissions you need.';
  chrome.accessibilityFeatures[feature].set(
      {value: value},
      chrome.test.callbackFail(expectedError));
}
function testSetFeatureNotAllowed ( feature , value ) { var expectedError = 'You do not have permission to access the preference ' + '\'' + feature + '\'. Be sure to declare in your manifest what ' + 'permissions you need.' ; chrome . accessibilityFeatures [ feature ] . set ( { value : value } , chrome . test . callbackFail ( expectedError ) ) ; }
Tests that the extension is not able to modify a feature value.
Tests that the extension is not able to modify a feature value .