Commit 2000a2a0 authored by lukasza's avatar lukasza Committed by Commit Bot

Remove all calls to domAutomationController.setAutomationId.

These calls are no longer needed after r485461
(https://crrev.com/2478803003) which has made the
domAutomationController.setAutomationId call a no-op.

BUG=662543
This CL was uploaded by git cl split.

R=bradnelson@chromium.org

Review-Url: https://codereview.chromium.org/2978703002
Cr-Commit-Position: refs/heads/master@{#487654}
parent 09f3bdaf
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
var load_util = { var load_util = {
report: function(msg) { report: function(msg) {
domAutomationController.setAutomationId(0);
// The automation controller seems to choke on Objects, so turn them into // The automation controller seems to choke on Objects, so turn them into
// strings. // strings.
domAutomationController.send(JSON.stringify(msg)); domAutomationController.send(JSON.stringify(msg));
......
...@@ -17,7 +17,6 @@ done. --> ...@@ -17,7 +17,6 @@ done. -->
<script> <script>
function report(msg) { function report(msg) {
domAutomationController.setAutomationId(0);
// The automation controller seems to choke on Objects, so turn them into // The automation controller seems to choke on Objects, so turn them into
// strings. // strings.
domAutomationController.send(JSON.stringify(msg)); domAutomationController.send(JSON.stringify(msg));
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
function report(msg) { function report(msg) {
domAutomationController.setAutomationId(0);
// The automation controller seems to choke on Objects, so turn them into // The automation controller seems to choke on Objects, so turn them into
// strings. // strings.
domAutomationController.send(JSON.stringify(msg)); domAutomationController.send(JSON.stringify(msg));
......
...@@ -6,7 +6,6 @@ window.addEventListener('load', function() { ...@@ -6,7 +6,6 @@ window.addEventListener('load', function() {
function init() { function init() {
var embed = document.createElement('embed'); var embed = document.createElement('embed');
embed.addEventListener('message', function(message) { embed.addEventListener('message', function(message) {
window.domAutomationController.setAutomationId(0);
window.domAutomationController.send(message.data); window.domAutomationController.send(message.data);
}, false); }, false);
embed.addEventListener('load', function() { embed.addEventListener('load', function() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment