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

Unified Diff: chrome/test/data/gpu/canvas_popup.html

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: chrome/test/data/gpu/canvas_popup.html
diff --git a/chrome/test/data/gpu/canvas_popup.html b/chrome/test/data/gpu/canvas_popup.html
index 80e0db324edce222c005bc601881a337445ab8ec..3655b679df1dd56a4bfa370b88ed4ba7397800bf 100644
--- a/chrome/test/data/gpu/canvas_popup.html
+++ b/chrome/test/data/gpu/canvas_popup.html
@@ -18,13 +18,13 @@ function popup() {
imageData.data[1] + ", " +
imageData.data[2];
- window.domAutomationController.setAutomationId(1);
if (imageData.data[0] == 255 &&
imageData.data[1] == 165 &&
- imageData.data[2] == 0)
+ imageData.data[2] == 0) {
window.domAutomationController.send("SUCCESS");
- else
+ } else {
window.domAutomationController.send("FAILED");
+ }
}
</script>
</head>
« no previous file with comments | « chrome/test/data/extensions/test_file_with_ctrl-d_keybinding.html ('k') | chrome/test/data/gpu/feature_canvas2d.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698