Index: chrome/android/javatests/src/org/chromium/chrome/browser/TabsTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/TabsTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/TabsTest.java |
index be59db6b0e9637bafca89a787d16cff79e36d50c..091a7b5c72851f437c904672daad548fa70bc646 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/TabsTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/TabsTest.java |
@@ -133,7 +133,7 @@ |
ThreadUtils.runOnUiThreadBlocking(new Runnable() { |
@Override |
public void run() { |
- tab.getWebContents().evaluateJavaScriptForTests( |
+ tab.getWebContents().evaluateJavaScript( |
"(function() {" |
+ " window.open('www.google.com');" |
+ "})()", |
@@ -158,7 +158,7 @@ |
ThreadUtils.runOnUiThreadBlocking(new Runnable() { |
@Override |
public void run() { |
- tab.getWebContents().evaluateJavaScriptForTests( |
+ tab.getWebContents().evaluateJavaScript( |
"(function() {" |
+ " alert('hi');" |
+ "})()", |