Open Bug 1906158 Opened 2 months ago

[wpt-sync] Sync PR 46988 - [Not for submit] Minimal demo of test driver bless() bug with multiple <iframe>s

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 46988 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/46988
Details from upstream follow.

pkotwicz <pkotwicz@chromium.org> wrote:

[Not for submit] Minimal demo of test driver bless() bug with multiple <iframe>s

The purpose of this PR is to demonstrate a test driver bug.

Specifically, for a cross-origin <iframe> bless() only acquires transient user activation if it is called from the first <iframe> on the page. It does not work if called on an iframe which is not the first on the page.

In cases where bless() does not obtain transient user activation, bless() still calls the JavaScript callback

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