Closed Bug 1328676 Opened 7 years ago Closed 7 years ago

Web content frame not in focus after creating Marionette session

Categories

(Remote Protocol :: Marionette, defect)

Version 3
defect
Not set
normal

Tracking

(firefox52 fixed, firefox53 fixed)

RESOLVED FIXED
mozilla53
Tracking Status
firefox52 --- fixed
firefox53 --- fixed

People

(Reporter: ato, Assigned: ato)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

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: nobody → ato
Blocks: webdriver
Status: NEW → ASSIGNED
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 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+
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
https://hg.mozilla.org/mozilla-central/rev/7410544dfba4
https://hg.mozilla.org/mozilla-central/rev/8c25f4454f5b
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Sheriffs: Please uplift this to Aurora as test-only.
Whiteboard: [checkin-needed-aurora]
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: