Switch TestFrameNavigationObserver to DidCommitProvisionalLoadForFrame.
[chromium-blink-merge.git] / chrome / test / data / password / frame_detached_on_submit.html
blob8536c360e4fb6e524d72d70c1fad51390b1c59be
1 <html>
2 <body>
4 <script>
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);
19 </script>
21 <iframe src="inner_frame.html" id="login_iframe" name="login_iframe">
22 </iframe>
25 </body>
26 </html>