Closed Bug 1301003 Opened 9 years ago Closed 8 years ago

Investigate whether form autofill preview values should be accessible to the document

Categories

(Toolkit :: Form Manager, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: MattN, Unassigned)

References

Details

(Whiteboard: [form autofill])

While previewing we will want a highlight and to be able to replace the text of fields with the profile data (I'm not sure if we want to clobber existing values) and so the basic way is to simply set .value on the fields and an inline style (caching the previous value and inline style property value). This means that the page would get access to the value during preview, event listeners may fire, and mutation observers may see the @style attribute change. We could see what other browsers do here and consider a privileged API to be able to make the field appear to be filled with the previewed text and have a special pseudo-element for styling.
Severity: normal → enhancement
Priority: -- → P3
We decided to not expose the preview data to sites (which aligns with Chrome). The site only gets the values when the autofill entry is filled.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.