Open Bug 1877430 Opened 10 months ago Updated 3 months ago

Consider consuming the user activation when clicking a link that would open a new tab or an external application

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

People

(Reporter: edgar, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

Attachments

(1 file)

Attached file testcase.html

We consume the user activation on window.open, even though spec only checks for user activation without consuming it. Chrome also consumes the user activation, there is a spec issue to clarify this behavior. <a target=_blank> uses the same choosing a navigable steps, so it makes sense to have a consistent behavior with window.open. The link that would open external application is similar to <a target=_blank> in some sense, so we might also want to consume the user activation like Chrome does.

I presume we aren't worrying about potentially breaking sites as Chromium already has this behavior?

Summary: Consider consuming the user acitvaion when clicking a link that would open a new tab or an external application → Consider consuming the user activation when clicking a link that would open a new tab or an external application
Assignee: nobody → omedhurst
Status: NEW → ASSIGNED

I believe we already sometimes do this for external protocols here, but only in some situations. I'll add 2 blocking bugs for each situation.

Depends on: 1879820
Blocks: 1577516

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: omedhurst → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: