Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3136)

Unified Diff: chrome/test/data/extensions/api_test/accessibility_features/modify_permission/test_runner.js

Issue 1150173003: Fix some JS style nits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/accessibility_features/modify_permission/test_runner.js
diff --git a/chrome/test/data/extensions/api_test/accessibility_features/modify_permission/test_runner.js b/chrome/test/data/extensions/api_test/accessibility_features/modify_permission/test_runner.js
index 2c4cf8595646cb1dd8c16d5f50476fd201ed6da3..8c184eae19247559b222d671ae2f72f43ec7b900 100644
--- a/chrome/test/data/extensions/api_test/accessibility_features/modify_permission/test_runner.js
+++ b/chrome/test/data/extensions/api_test/accessibility_features/modify_permission/test_runner.js
@@ -18,8 +18,8 @@ function testGetFeatureNotAllowed(feature) {
/**
* Initializes and runs tests that verify the extension cannot query feature
* states.
- * @param {Array.<string>} enabledFeatures The list of enabled features.
- * @param {Array.<string>} disabledFeatures The list of disabled features.
+ * @param {Array<string>} enabledFeatures The list of enabled features.
+ * @param {Array<string>} disabledFeatures The list of disabled features.
*/
function runGetterTest(enabledFeatures, disabledFeatures) {
var tests = [];
@@ -62,9 +62,9 @@ function testEnableFeature(feature, value) {
* the setter methods do not cause API errors. The tests don't verify that the
* feature state actually changes as a result of setter calls. That should be
* done in Chrome part of test, after the test extension is done.
- * @param {Array.<string>} initiallyEnabledFeatures The list of features that
+ * @param {Array<string>} initiallyEnabledFeatures The list of features that
* are enabled when the test starts.
- * @param {Array.<string>} initiallyDisabledFeatures The list of features that
+ * @param {Array<string>} initiallyDisabledFeatures The list of features that
* are disabled when the test starts.
*/
function runSetterTest(initiallyEnabledFeatures, initiallyDisabledFeatures) {
@@ -93,8 +93,8 @@ function runSetterTest(initiallyEnabledFeatures, initiallyDisabledFeatures) {
/**
* Mapping from test name to the function that runs tests.
- * @type {getterTest: function(Array.<string>, Array.<string>),
- * setterTest: function(Array.<string>, Array.<string>)}
+ * @type {getterTest: function(Array<string>, Array<string>),
+ * setterTest: function(Array<string>, Array<string>)}
* @const
*/
var TEST_FUNCTIONS = {

Powered by Google App Engine
This is Rietveld 408576698