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

Unified Diff: chrome/test/data/password/inner_frame.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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/password/inner_frame.html
diff --git a/chrome/test/data/password/inner_frame.html b/chrome/test/data/password/inner_frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..227107215a971eb905e015d4565f0929fc8025c1
--- /dev/null
+++ b/chrome/test/data/password/inner_frame.html
@@ -0,0 +1,18 @@
+<html>
+<body>
+
+<script>
+function send_post() {
+ window.parent.postMessage("SignupComplete", "*");
+}
+</script>
+
+<form action="inner_frame.html" onsubmit="send_post(); return false;"
+ id="deleting_form">
+ <input type="text" id="username_field" name="username_field">
+ <input type="password" id="password_field" name="password_field">
+ <input type="submit" id="submit_button" name="submit_button">
+</form>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698