6 function delayedUpload() {
7 window
.domAutomationController
.send("SUBMISSION_FINISHED");
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);
17 window
.addEventListener("message", receiveMessage
, false);
21 <iframe src=
"inner_frame.html" id=
"login_iframe" name=
"login_iframe">