Closed Bug 1596585 Opened 6 years ago Closed 5 years ago

test_driver.click(button) doesn't work in iframes

Categories

(Testing :: web-platform-tests, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jib, Unassigned)

References

Details

The awesome user gesture automation tool test_driver.click() added in web-platform-tests/wpt#6897, unfortunately doesn't work in iframes, which blocks us from testing the "display-capture" feature policy once bug 1580944 lands.

Opening this to track this upstream issue, to have something to reference in feature-policy.https.html.ini to explain why it fails.

This is currently a known limitation; I"m surprised I can't find a GitHub issue. The problem is that there can only be a single WebDriver window at a time, so given that WebDriver script is driving the whole interaction we'd need some way to switch to a given browsing context for a particular command and then back to the top level context in order to keep spinning the event loop. It's probably not too hard to design something that works though.

See Also: → 1597285

There's some upstream chatter this should have worked, so we'll see.

The priority flag is not set for this bug.
:jgraham, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(james)
Flags: needinfo?(james)
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 5 years ago
Depends on: 1667968
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.