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

Side by Side Diff: chrome/test/data/supervised_user/with_iframes.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 unified diff | Download patch
« no previous file with comments | « chrome/test/data/popup_iframe.html ('k') | chrome/test/data/tab-restore-visibility.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Supervised User test: page with iframes</title> 3 <title>Supervised User test: page with iframes</title>
4 </head> 4 </head>
5 <body> 5 <body>
6 <script> 6 <script>
7 var iframe1loaded = false; 7 var iframe1loaded = false;
8 var iframe2loaded = false; 8 var iframe2loaded = false;
9 9
10 function sendValueToTest(value) { 10 function sendValueToTest(value) {
11 window.domAutomationController.setAutomationId(0);
12 window.domAutomationController.send(value); 11 window.domAutomationController.send(value);
13 } 12 }
14 13
15 function loaded1() { sendValueToTest(iframe1loaded); } 14 function loaded1() { sendValueToTest(iframe1loaded); }
16 function loaded2() { sendValueToTest(iframe2loaded); } 15 function loaded2() { sendValueToTest(iframe2loaded); }
17 </script> 16 </script>
18 <iframe src="http://www.iframe1.com/supervised_user/iframe.html" onload="ifram e1loaded=true;"></iframe> 17 <iframe src="http://www.iframe1.com/supervised_user/iframe.html" onload="ifram e1loaded=true;"></iframe>
19 <iframe src="http://www.iframe2.com/supervised_user/iframe.html" onload="ifram e2loaded=true;"></iframe> 18 <iframe src="http://www.iframe2.com/supervised_user/iframe.html" onload="ifram e2loaded=true;"></iframe>
20 </body> 19 </body>
21 </html> 20 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/popup_iframe.html ('k') | chrome/test/data/tab-restore-visibility.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698