Open Bug 1954305 Opened 5 months ago Updated 5 months ago

nsFind / hidden=until-found / auto-expanding details: Investiate decoupling find from revealing

Categories

(Core :: Find Backend, task)

task

Tracking

()

People

(Reporter: jjaschke, Unassigned)

References

Details

As this section of the spec describes, hidden=until-found or auto-expanding details could be used to implement sort of a keylogger on a web page (as find-in-page starts matching while the user is typing).

A potential way around this is delaying firing the beforematch event and revealing the content with a small timer, so that this only happens after the user stopped typing. This would also fix an inconvenience where a hidden section would be revealed if there's one letter that's the first match in the doc, even though the match would be immediately invalidated by the second letter of the search string.

You need to log in before you can comment on or make changes to this bug.