Open
Bug 1471176
Opened 8 years ago
Updated 3 years ago
[wpt-sync] Sync PR 11668 - Add a test to verify that postMessage forwards user gesture.
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
REOPENED
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 11668 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/11668
Details from upstream follow.
Frédéric Wang <fwang@igalia.com> wrote:
> Add a test to verify that postMessage forwards user gesture.
>
> I *think* the spec says all versions of postMessage queue a task and so the triggered by user activation flag should be forwarded to the receiver.
>
> At least with window's postMessage, the popup is allowed in all browsers.
>
> I'm not sure if Firefox considers the user activation flag to block popups. It seems to allow them all when using ./wpt run with testdriver's click or blocking them all when running manually.
>
> On Chromium, the popup is blocked for MessagePort and BroadcastChannel when you run them manually (as expected per https://bugs.chromium.org/p/chromium/issues/detail?id=851493) but not when using ./wpt run with testdriver's click.
>
> On WebKit, BroadcastChannel is not supported ( https://bugs.webkit.org/show_bug.cgi?id=161472 ) and the popup is blocked for MessagePort ( https://bugs.webkit.org/show_bug.cgi?id=186593 ). I tested manually since I'm not sure about the status of ./wpt run or testdriver.
>
> cc' @Ms2ger
| Assignee | ||
Updated•8 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
| Assignee | ||
Comment 1•8 years ago
|
||
| Assignee | ||
Comment 2•8 years ago
|
||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
| Assignee | ||
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
| Assignee | ||
Updated•6 years ago
|
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•