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

Unified Diff: chrome/test/data/webui/test_api.js

Issue 8418015: Allow javascript unit tests using webui test_api framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary parens. Created 9 years, 2 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/webui/test_api.js
diff --git a/chrome/test/data/webui/test_api.js b/chrome/test/data/webui/test_api.js
index 24f0adb42477975c5b1001cd3f3569319822a167..2f4d0d5cc5b1036bdb4866b3c81304e8ac3f5350 100644
--- a/chrome/test/data/webui/test_api.js
+++ b/chrome/test/data/webui/test_api.js
@@ -767,7 +767,8 @@ var testing = {};
if (testBody != RUN_TEST_F) {
console.log('Running test ' + testName);
}
- var result = runTestFunction(testFunction, testBody, testArguments, true);
+ var result = runTestFunction(testFunction, testBody, testArguments,
+ isAsync);
if (!isAsync || !result[0])
testDone(result);
return true;

Powered by Google App Engine
This is Rietveld 408576698