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

Unified Diff: chrome/test/data/webrtc/test_functions.js

Issue 23908004: Remove old references to PyAuto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits fixed Created 7 years, 3 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
« no previous file with comments | « chrome/test/data/webrtc/message_handling.js ('k') | chrome/test/data/webrtc/video_detector.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webrtc/test_functions.js
diff --git a/chrome/test/data/webrtc/test_functions.js b/chrome/test/data/webrtc/test_functions.js
index 424987aa716f35445e00f57309757098312fbd94..1357315e9ca521d77def1ec921b42f0c70035d9c 100644
--- a/chrome/test/data/webrtc/test_functions.js
+++ b/chrome/test/data/webrtc/test_functions.js
@@ -6,18 +6,19 @@
/**
* This list keeps track of failures in the test. This is necessary to keep
- * track of failures that happen outside of PyAuto test calls and need to be
- * reported asynchronously.
+ * track of failures that happen outside of test calls and need to be reported
+ * asynchronously.
* @private
*/
var gFailures = [];
/**
* The callback to send test messages to. By default we will assume that we
- * are being run by a PyAuto test case, but this can be overridden.
+ * are being run by an automated test case such as a browser test, but this can
+ * be overridden.
* @private
*/
-var gReturnCallback = sendToPyAuto;
+var gReturnCallback = sendToTest;
/**
* The callback to send debug messages to. By default we assume console.log.
@@ -86,14 +87,14 @@ function returnToTest(message) {
}
/**
- * Sends a message to the PyAuto test case. Requires that this javascript was
- * loaded by PyAuto. This will make the test proceed if it is blocked in a
+ * Sends a message to the test case. Requires that this javascript was
+ * loaded by the test. This will make the test proceed if it is blocked in a
* ExecuteJavascript call.
*
* @param {string} message The message to send.
*/
-function sendToPyAuto(message) {
- debug('Returning ' + message + ' to PyAuto.');
+function sendToTest(message) {
+ debug('Returning ' + message + ' to test.');
window.domAutomationController.send(message);
}
« no previous file with comments | « chrome/test/data/webrtc/message_handling.js ('k') | chrome/test/data/webrtc/video_detector.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698