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

Unified Diff: content/browser/zoom_browsertest.cc

Issue 2503453003: Remove all calls to domAutomationController.setAutomationId.
Patch Set: Fix nacl_browsertest_util.cc Created 3 years, 5 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: content/browser/zoom_browsertest.cc
diff --git a/content/browser/zoom_browsertest.cc b/content/browser/zoom_browsertest.cc
index 3a6721f04d61c2e56c33a972f12cf89f1c2c5f74..6c653819f2cd684688b01ac8b53eec28c14bd07a 100644
--- a/content/browser/zoom_browsertest.cc
+++ b/content/browser/zoom_browsertest.cc
@@ -134,7 +134,6 @@ struct FrameResizeObserver {
const std::string& label) {
const char kOnResizeCallbackSetup[] =
"document.body.onresize = function(){"
- " window.domAutomationController.setAutomationId(0);"
" window.domAutomationController.send('%s ' + window.innerWidth);"
"};";
EXPECT_TRUE(ExecuteScript(
@@ -168,7 +167,6 @@ struct ResizeObserver {
void SetupOnResizeCallback(const ToRenderFrameHost& adapter) {
const char kOnResizeCallbackSetup[] =
"document.body.onresize = function(){"
- " window.domAutomationController.setAutomationId(0);"
" window.domAutomationController.send('Resized');"
"};";
EXPECT_TRUE(ExecuteScript(

Powered by Google App Engine
This is Rietveld 408576698