Open Bug 1744272 Opened 4 years ago Updated 3 years ago

Double click on an input field having the id or name attribute set to "ts" causes a list of timestamps to show up

Categories

(Toolkit :: Form Manager, defect, P3)

Firefox 94
defect

Tracking

()

People

(Reporter: valerio.bianchi.82, Unassigned)

References

()

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

Steps to reproduce:

Prepare a minimal html file with this content:

<html>
<body>
<input id="ts">
<input name="ts">
</body>
</html>

Open the file with Firefox.
Double click on any input field.

Actual results:

A select list containing millisecond timestamps entries is displayed

Expected results:

Nothing should be displayed

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

It seems that this is a bug of autocomplete.

Status: UNCONFIRMED → NEW
Component: DOM: Core & HTML → Autocomplete
Ever confirmed: true
Product: Core → Toolkit

The severity field is not set for this bug.
:mak, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mak)

I cannot reproduce the bug, tried Windows and Linux.
Form history values are stored based on field name, is it possible this data comes from another same-name field that you used in the past?
What happens if you remove those entries, it should be possible using shift+del.
Afaict this may be the expected behavior, form history is not partitioned by host.

Component: Autocomplete → Form Manager
Flags: needinfo?(mak)

I can reproduce it on Windows with Nightly 97.0a1 and can not reproduce on another profile in current tip of the m-c.

The only suspicious place in code that has "ts" and timestamps nearby is here https://searchfox.org/mozilla-central/source/browser/extensions/translations/extension/background.js#1524

Attached file ts-ts-ts.html

As mentioned in Comment 4 a few Shift+Delete cleared it up.

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: