Closed Bug 1681885 Opened 3 years ago Closed 3 years ago

Add a unit test for marionette switchToWindow after a remoteness change

Categories

(Remote Protocol :: Marionette, task, P3)

Default
task

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(1 file)

Initial landing for Bug 1676671 got backed out because it failed a telemetry test relying on marionette which more or less did the following:

  • opened a tab
  • do a remoteness change
  • open a new tab
  • switch to this new tab
  • close the new tab and try to switch back to the inital tab

Since the browsing context changed for the initial tab, marionette can be confused and fail to find to correct browser during the last step. It currently works with the existing framescript approach (presumably because we register browsers from the framescript, everytime a document loads), but it didn't work with the initial implementation of Bug 1676671.

Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/529bdcfd4ae1
[marionette] Add a test for switchToWindow after a remoteness change r=marionette-reviewers,whimboo,maja_zf
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
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: