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

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

Issue 488083002: [Password Manager] Fix to recognise failed login attempt for sites where content server pushes new … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@branch_autofill_todo_20140813
Patch Set: Incorporatd review comments and added unit-tests Created 6 years, 3 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 <head>
3 <script type="text/javascript">
4 window.onload = function() {
vabr (Chromium) 2014/08/26 09:42:58 nit: In short, use C++ indentation rules here: wi
Pritam Nikam 2014/08/26 12:41:33 Done.
5 document.getElementById('to_separate').action = getAction();
6 }
7 function getAction() {
vabr (Chromium) 2014/08/26 09:42:58 nit: The name is uninformative, it should express
Pritam Nikam 2014/08/26 12:41:33 Done.
8 var protocol = ("http:" == window.location.protocol) ? "https:" : "http: ";
9 var actionUrl = protocol + "//" + window.location.host + "/password/ done_and_separate_login_form.html";
vabr (Chromium) 2014/08/26 09:42:58 Why not use window.location.pathname, instead of r
vabr (Chromium) 2014/08/26 09:42:58 nit: This function is oblivious to the fact, that
Pritam Nikam 2014/08/26 12:41:33 Done.
Pritam Nikam 2014/08/26 12:41:33 Done.
10 return actionUrl;
11 }
12 </script>
13 </head>
14 <body>
15 Navigation complete. Below is the different login form pushed by server but with same action URL.
16 The URL schem may or may not be same. Moreover, browser shall not promp user to save incorrect password.
17 <form method="POST" id="to_separate">
18 <input type="text" id="username_separate" name="username_separate">
19 <input type="password" id="password_separate" name="password_separate">
20 <input type="submit" id="submit_separate" name="submit_separate">
21 </form>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698