Open Bug 1879820 Opened 9 months ago Updated 3 days ago

Consume user activation when tab for anchor _blank opens

Categories

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

task

Tracking

()

People

(Reporter: canadahonk, Assigned: edgar)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

This should be standardized first, then we should likely write WPTs if not already added.

WIP. Seems kind of hackish but not sure where/how else is best?
Should likely write WPTs for this too.

Assignee: nobody → omedhurst
Status: NEW → ASSIGNED
Attachment #9379477 - Attachment description: WIP: Bug 1879820 - Consume user activation when tab for anchor _blank opens → Bug 1879820 - Consume user activation when tab for anchor _blank opens
Depends on: 1867545
Attachment #9379477 - Attachment description: Bug 1879820 - Consume user activation when tab for anchor _blank opens → WIP: Bug 1879820 - Apply popup blocker for user activated anchor _blank opens
Assignee: omedhurst → nobody
Status: ASSIGNED → NEW
Assignee: nobody → echen

Note to myself:
we meed to handle the case where the submit target is _blank, which also opens a new window. For example:

<form target=_blank><input><button>Submit></button></form>

User activation should be checked and consumed when the form is submitted, whether by clicking the submit button or by calling submit() via script.

Attachment #9379477 - Attachment description: WIP: Bug 1879820 - Apply popup blocker for user activated anchor _blank opens → WIP: Bug 1879820 - Consume user activation when clicking link opens a new window;
Attachment #9379477 - Attachment description: WIP: Bug 1879820 - Consume user activation when clicking link opens a new window; → Bug 1879820 - Consume user activation when clicking link opens a new window;
Attachment #9436825 - Attachment description: WIP: Bug 1879820 - Consume user activation when submitting form opens a new window; → Bug 1879820 - Consume user activation when submitting form opens a new window;
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: