| Index: chrome/test/data/password/frame_detached_on_submit.html | 
| diff --git a/chrome/test/data/password/frame_detached_on_submit.html b/chrome/test/data/password/frame_detached_on_submit.html | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..8536c360e4fb6e524d72d70c1fad51390b1c59be | 
| --- /dev/null | 
| +++ b/chrome/test/data/password/frame_detached_on_submit.html | 
| @@ -0,0 +1,26 @@ | 
| +<html> | 
| +<body> | 
| + | 
| +<script> | 
| + | 
| +function delayedUpload() { | 
| +  window.domAutomationController.send("SUBMISSION_FINISHED"); | 
| +} | 
| + | 
| +function receiveMessage(event) { | 
| +  var login_iframe = document.getElementById('login_iframe'); | 
| +  login_iframe.parentNode.removeChild(login_iframe); | 
| +  window.domAutomationController.setAutomationId(0); | 
| +  setTimeout(delayedUpload, 0); | 
| +} | 
| + | 
| +window.addEventListener("message", receiveMessage, false); | 
| + | 
| +</script> | 
| + | 
| +<iframe src="inner_frame.html" id="login_iframe" name="login_iframe"> | 
| +</iframe> | 
| + | 
| + | 
| +</body> | 
| +</html> | 
|  |