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

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: 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
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..b36f71d1a008906cc7b835e2416c83434a21da00 100644
--- a/chrome/test/data/webrtc/test_functions.js
+++ b/chrome/test/data/webrtc/test_functions.js
@@ -6,18 +6,18 @@
/**
* 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 a test case, but this can be overridden.
phoglund_chromium 2013/09/09 07:56:34 by an automated test case, such as a browser test
kjellander_chromium 2013/09/09 08:11:53 Done.
* @private
*/
-var gReturnCallback = sendToPyAuto;
+var gReturnCallback = sendToTest;
/**
* The callback to send debug messages to. By default we assume console.log.
@@ -86,14 +86,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);
}

Powered by Google App Engine
This is Rietveld 408576698