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; |