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

Side by Side Diff: chrome/test/data/password/frame_detached_on_submit.html

Issue 1012093005: [Password Manager] Offer to save when an iframe is detached (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change upstream Created 5 years, 9 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
(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>
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_manager_browsertest.cc ('k') | chrome/test/data/password/inner_frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698