Open Bug 1817819 Opened 1 year ago Updated 1 year ago

Missing XULFrameLoaderCreated event when synthesizing a click on a link from marionette on Desktop

Categories

(Remote Protocol :: Marionette, defect, P3)

Default
defect

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned, NeedInfo)

References

Details

While investigating Bug 1816061, we noticed that Marionette will not trigger a XULFrameLoaderCreated event when clicking on a link with target=top nested in an iframe.

This can normally be reproduced on the following test page https://bug1816061-testcase.glitch.me/

Clicking on the link manually should generate a XULFrameLoaderCreated event. Simulating a click with Marionette on Desktop will not.

However, simulating a click with Marionette on Mobile, with Fission enabled, will still trigger this event.

We should investigate why we are missing this event and how we could have a more accurate event simulation here.

Component: geckodriver → Marionette
Product: Testing → Remote Protocol

My first suspicion is that this could be related to dispatching the events in the child process rather than the parent, but I'm not sure.

See Also: → parent-actions

Julian, could you have a look what James suggested?

Flags: needinfo?(jdescottes)
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.