| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 <html> | 
|  | 2 <body> | 
|  | 3 | 
|  | 4 <script> | 
|  | 5 | 
|  | 6 function delayedUpload() { | 
|  | 7   window.domAutomationController.send("SUBMISSION_FINISHED"); | 
|  | 8 } | 
|  | 9 | 
|  | 10 function receiveMessage(event) { | 
|  | 11   var login_iframe = document.getElementById('login_iframe'); | 
|  | 12   login_iframe.parentNode.removeChild(login_iframe); | 
|  | 13   window.domAutomationController.setAutomationId(0); | 
|  | 14   setTimeout(delayedUpload, 0); | 
|  | 15 } | 
|  | 16 | 
|  | 17 window.addEventListener("message", receiveMessage, false); | 
|  | 18 | 
|  | 19 </script> | 
|  | 20 | 
|  | 21 <iframe src="inner_frame.html" id="login_iframe" name="login_iframe"> | 
|  | 22 </iframe> | 
|  | 23 | 
|  | 24 | 
|  | 25 </body> | 
|  | 26 </html> | 
| OLD | NEW | 
|---|