Web content frame not in focus after creating Marionette session

RESOLVED FIXED in Firefox 52

Status

defect
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: ato, Assigned: ato)

Tracking

(Blocks 1 bug)

Version 3
mozilla53
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(firefox52 fixed, firefox53 fixed)

Details

Attachments

(2 attachments)

Assignee

Description

2 years ago
The web content frame (currently selected <xul:browser>) is not in focus after creating a new Marionette session.  This causes issues such as https://github.com/mozilla/geckodriver/issues/394.

It seems that the root cause is that we somehow focus the address bar after opening the first window. To ensure proper focus is given to the web content frame (the `<xul:browser>` element), we ought to focus this after creating a session and upon navigation.
Assignee

Updated

2 years ago
Assignee: nobody → ato
Blocks: webdriver
Status: NEW → ASSIGNED
Comment hidden (mozreview-request)
Comment hidden (mozreview-request)

Comment 3

2 years ago
mozreview-review
Comment on attachment 8823776 [details]
Bug 1328676 - Document some particulars of browser.Context;

https://reviewboard.mozilla.org/r/102294/#review102892
Attachment #8823776 - Flags: review?(dburns) → review+

Comment 4

2 years ago
mozreview-review
Comment on attachment 8823777 [details]
Bug 1328676 - Focus web content on starting new session and navigating;

https://reviewboard.mozilla.org/r/102296/#review102894
Attachment #8823777 - Flags: review?(dburns) → review+

Comment 5

2 years ago
Pushed by atolfsen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7410544dfba4
Document some particulars of browser.Context; r=automatedtester
https://hg.mozilla.org/integration/autoland/rev/8c25f4454f5b
Focus web content on starting new session and navigating; r=automatedtester

Comment 6

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/7410544dfba4
https://hg.mozilla.org/mozilla-central/rev/8c25f4454f5b
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Assignee

Comment 7

2 years ago
Sheriffs: Please uplift this to Aurora as test-only.
Whiteboard: [checkin-needed-aurora]
You need to log in before you can comment on or make changes to this bug.