Bug 1661617 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

This may be privacy issue, I file as sec bug at first.

Actually, software keyboard type depends on current `type` attribute of `input` element.  If type is password, we change to password layout.  So if `type` attribute is changed, keyboard layout is also changed. This is managed by `IMEStateManager` to using `type` and `inputmode`.

But some web site has "Show password' icon not to mask password input, the following issue occurs.

### Env
Fenix with GBoard.  I guess that this occurs on Windows tablet.

### Step
1. Access to www.google.com
2. Enter google account email address.
3. Focus password field.
4. Click "Show password" icon.

### Actual Result
Keyboard layout is changed to non-password style. 

###  Actual Google Chrome Result
Even if "Show password" icon, keyboard layout isn't changed.  Although I heard from Googler that they consider this situation to keep keyboard layout for password.

I think that Chrome's way is better for password field. Although most software keyboard leans input history if not password layout, "Show password" causes that software keyboard learns inputted password even if this is password field as web site.
This may be privacy issue, I file as sec bug at first.

Actually, software keyboard type depends on current `type` attribute of `input` element.  If type is password, we change to password layout.  So if `type` attribute is changed, keyboard layout is also changed. This is managed by `IMEStateManager` to using `type` and `inputmode`.

But although some web site has "Show password' icon not to mask password input, the following issue occurs.

### Env
Fenix with GBoard.  I guess that this occurs on Windows tablet.

### Step
1. Access to www.google.com
2. Enter google account email address.
3. Focus password field.
4. Click "Show password" icon.

### Actual Result
Keyboard layout is changed to non-password style. 

###  Actual Google Chrome Result
Even if "Show password" icon, keyboard layout isn't changed.  Although I heard from Googler that they consider this situation to keep keyboard layout for password.

I think that Chrome's way is better for password field. Although most software keyboard leans input history if not password layout, "Show password" causes that software keyboard learns inputted password even if this is password field as web site.
This may be privacy issue, I file as sec bug at first.

Actually, software keyboard type depends on current `type` attribute of `input` element.  If type is password, we change to password layout.  So if `type` attribute is changed, keyboard layout is also changed. This is managed by `IMEStateManager` to using `type` and `inputmode`.

But although some web site has "Show password' icon not to mask password input, the following issue occurs.

### Env
Fenix with GBoard.  I guess that this occurs on Windows tablet.

### Step
1. Access to www.google.com
2. Enter google account email address.
3. Focus password field.
4. Click "Show password" icon.

### Actual Result
Keyboard layout is changed to non-password style. 

###  Actual Google Chrome Result
Even if tapping "Show password" icon, keyboard layout isn't changed.  Although I heard from Googler that they consider this situation to keep keyboard layout for password.

I think that Chrome's way is better for password field. Although most software keyboard leans input history if not password layout, "Show password" causes that software keyboard learns inputted password even if this is password field as web site.

Back to Bug 1661617 Comment 0