Open Bug 1670383 Opened 4 years ago Updated 2 years ago

Split dom.event.clipboardevents.enabled pref to each clibpard event

Categories

(Core :: DOM: UI Events & Focus Handling, enhancement, P5)

Firefox 82
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: mozilla, Unassigned)

References

Details

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

Steps to reproduce:

Set dom.event.clipboardevents.enabled to false.

Actual results:

Gained privacy, stopped websites preventing me from pasting in fields ('please enter your email again').

Stopped the ability to paste images to apps like GitHub and thelounge.

Expected results:

I would like to have the parameter disabled, except when pasting images / files. Websites rely on clipboard events to detect, that content is being pasted in to them.

Having it enabled saves around 10s for each screenshot shared.
Having it disabled saves around 10s, with the time taken to type in a field (possibly introducing human error). There're also other gains, such as privacy.

Proposing dom.event.cliboardevents.paste.enabled, partially overriding dom.event.clipboardevents.enabled.
Websites can (and overall, should) detect pasted content anyways, disabling events for pastes just breaks many websites.

Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core
Severity: -- → N/A
Priority: -- → P3

Splitting the pref to each event could be the only (potentially) valid request. Changing the summary.

OS: Unspecified → All
Priority: P3 → P5
Hardware: Unspecified → All
See Also: → 1104117
Summary: Image paste events with dom.event.clipboardevents.enabled=false → Split dom.event.clipboardevents.enabled pref to each clibpard event
You need to log in before you can comment on or make changes to this bug.