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

Unified Diff: tools/chrome_remote_control/chrome_remote_control/tab_runtime.py

Issue 10916227: More polish in prep for CrOS support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for landing Created 8 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: tools/chrome_remote_control/chrome_remote_control/tab_runtime.py
diff --git a/tools/chrome_remote_control/chrome_remote_control/tab_runtime.py b/tools/chrome_remote_control/chrome_remote_control/tab_runtime.py
index eaedca22bb5284df3d87f2ec89228818395dd5a3..0283b3022707f77253bdb3ca6d5b5aa1ca90c8b2 100644
--- a/tools/chrome_remote_control/chrome_remote_control/tab_runtime.py
+++ b/tools/chrome_remote_control/chrome_remote_control/tab_runtime.py
@@ -21,14 +21,14 @@ class TabRuntime(object):
pass
def Execute(self, expr, timeout=60):
- """Executes expr
+ """Executes expr in javascript. Does not return the result.
If the expression failed to evaluate, EvaluateException will be raised.
"""
self.Evaluate(expr + "; 0;", timeout=60);
def Evaluate(self, expr, timeout=60):
- """Evalutes expr and returns the JSONized result.
+ """Evalutes expr in javascript and returns the JSONized result.
Consider using Execute for cases where the result of the expression is not
needed.

Powered by Google App Engine
This is Rietveld 408576698