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

Side by Side Diff: chrome/test/data/password/frame_detached_on_submit.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
OLDNEW
1 <html> 1 <html>
2 <body> 2 <body>
3 3
4 <script> 4 <script>
5 5
6 function delayedUpload() { 6 function delayedUpload() {
7 window.domAutomationController.send("SUBMISSION_FINISHED"); 7 window.domAutomationController.send("SUBMISSION_FINISHED");
8 } 8 }
9 9
10 function receiveMessage(event) { 10 function receiveMessage(event) {
11 var login_iframe = document.getElementById('login_iframe'); 11 var login_iframe = document.getElementById('login_iframe');
12 login_iframe.parentNode.removeChild(login_iframe); 12 login_iframe.parentNode.removeChild(login_iframe);
13 window.domAutomationController.setAutomationId(0);
14 setTimeout(delayedUpload, 0); 13 setTimeout(delayedUpload, 0);
15 } 14 }
16 15
17 window.addEventListener("message", receiveMessage, false); 16 window.addEventListener("message", receiveMessage, false);
18 17
19 </script> 18 </script>
20 19
21 <iframe src="inner_frame.html" id="login_iframe" name="login_iframe"> 20 <iframe src="inner_frame.html" id="login_iframe" name="login_iframe">
22 </iframe> 21 </iframe>
23 22
24 23
25 </body> 24 </body>
26 </html> 25 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/page_with_focus_events.html ('k') | chrome/test/data/password/password_fetch_submit.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698