Closed Bug 245779 Opened 20 years ago Closed 20 years ago

Form data/password is not remembered

Categories

(Toolkit :: Password Manager, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 245333

People

(Reporter: lagrave+bugs+mozilla.org, Assigned: bryner)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 StumbleUpon/1.909
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 StumbleUpon/1.909

There are two problems in the linked page:

1. The password manager doesn't ask if I want to save my login details when I
enter them and press enter

2. This most likeley depends on (1); the password manager don't autofill the form

Another example is

https://www.banco.se/fondtorget/index.asp

Instructions for people not understanding the language:

1. enter a string consisting of ten numbers, 1234567890 is fine.
2. Click 'Fortsätt'
3. Enter any string in the field on the next page
4. Click 'Logga in'

Reproducible: Always
Steps to Reproduce:
1. Enter any numbers in the forms on the linked page
2. Click 'Ok'
3.

Actual Results:  
Nothing

Expected Results:  
Password manager should ask if I want to save the passwords
This might be an instance where the web devloper choose to turn this function
off... see bug 93776
I have tried the

user_pref("wallet.crypto.autocompleteoverride", true); 

settings suggested in that bug (or in som ebug linked from that bug) as well as
three different bookmarklets. The setting made no difference at all, the
bookmarklets did, at best, work partially:

If you opened the frame at ikanobanken.se in a new window and entered the login
data I was asked if I wanted PW-manager to remember the password but the data
was still not entered in the form, neither on the main page or the frame.

At banco.se there was no difference at all.
Some additional info

After trying with different javascripts and the Web Developer extension I have
managed to get ≈ 10 entries in Privacy -> Saved passwords with my login
information but FF still don't autocomplete the form. Is this a new bug or
expected behaviour?
(In reply to comment #3)
> FF still don't autocomplete the form. Is this a new bug or
> expected behaviour?

I am not always prompted to store passwords in the password manager, imported
Mozilla passwords do not save in  the password manager, and autocomplete does
not seem to work in OS X FF.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.3) Gecko/20041020
Firefox/1.0
Couldn't access the first link to test, but the
https://secure.ikanobanken.se/min_ikanobank/ link was accessible.

Couldn't reproduce with FireFox 1.0 under Windows 2000. No password manager
prompt appears when entering the "username" (the 10 digit number), but I was
prompted to save my password after clicking the log in button. THe password was
saved correctly. However, revisiting the page did not auto-fill the password. I
believe that is due to the username and password fields being on separate pages
rather than in the same form.
> Couldn't reproduce with FireFox 1.0 under Windows 2000. No password manager
> prompt appears when entering the "username" (the 10 digit number), but I was
> prompted to save my password after clicking the log in button. THe password was
> saved correctly.

This happens for me too (at least if I somehow disable the autocomplete=off
property)

> However, revisiting the page did not auto-fill the password.

This is exactly what happens to me too. However, every time I log in FF offers
me to save the username/password. If I ok that the name/pwd is saved as a new
entry in the pwd-manager. Once I had more than ten entries with the exact same
username/password in the password manager.


> I
> believe that is due to the username and password fields being on separate 
> pages rather than in the same form.

I don't follow you here, both the name and pwd field are on the same page. The
source looks like this:

<form autocomplete="off" action="node1377.asp" method="post">
   <table border="0" cellpadding="0">
      <tbody>
         <tr>
            <td>
               <font class="brodtext">
                  Personnummer
                  <br>
               </font>
            </td>
            <td width="15">
               <img src="/files/images/x.gif" height="1" width="10">
            </td>
            <td>
               <font class="brodtext">
                  pinkod<br>
               </font>
            </td>
         </tr>
         <tr>
         </tr>
         <tr>
            <td>
               <input name="PnrFieldName" value="Pnr_15495914766" type="hidden">
               <input name="Pnr_15495914766" maxlength="10" size="10"
onkeyup="CheckPnrLen()" type="text">
            </td>
            <td width="15">
               <img src="/files/images/x.gif" height="1" width="10">
            </td>
            <td>
               <input name="PinFieldName" value="Pin_42523107516" type="hidden">
               <input name="Pin_42523107516" maxlength="4" size="4" type="password">
               <!-- <input class="form" name="pin" type="password" size="4"
maxlength="4"> -->
            </td>
         </tr>
         <tr>
            <td colspan="2">
               <input src="/files/images/ok.gif" name="submit" type="image"
border="0">
               <a href="/index.asp" target="_top">
                  <img src="/files/images/avbryt.gif" name="reset" border="0">
               </a>
            </td>
         </tr>
      </tbody>
   </table>
</form>


This code indicates, as far as I can see, that it only one form?
I can add some more detail and an explanation of the problem with one of the
sites (ikanobanken.se).


They change the name of the fields on every reload, e.g., first time they are
called:

Pnr_63648754845
Pin_01766857675

next time:

Pnr_67838405793
Pin_15855698643

and so on. This makes it obvious why the autofill does not work. However, maybe
I should change this from a bug report to a feature request:

It would be nice if Mozilla could take a regexp for the name-parameter in a web
form.

On the other hand, the second example still doesn't work and has no explanation.
If the site changes the field names on every load, then there isn't much that
can be done. Adding regexp capabilities to the autocomplete feature is
definitely not something that's going to happen anytime soon.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
My previous comment did not explain the second site with its two step login
procedure

https://www.banco.se/fondtorget/index.asp

You can use any combination of ten digits on the first page. Mozilla does not
remember the value you enter there.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
(In reply to comment #5)
> Couldn't access the first link to test, but the
> https://secure.ikanobanken.se/min_ikanobank/ link was accessible.

It was changeable to following URL. 
https://secure.ikanobanken.se/plugins/_usercontrols/General/login.aspx

And there is an attribute of "autocomplete=off" in the password. 
The request to disregard this attribute is bug245333. 


*** This bug has been marked as a duplicate of 245333 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.