Open Bug 1426208 Opened 4 years ago Updated 3 years ago

WebDriver:SwitchToWindow lets you switch to chrome windows from content context


(Testing :: Marionette, enhancement, P3)

Version 3


(Not tracked)


(Reporter: ato, Unassigned)


The WebDriver:SwitchToWindow command lets you switch to chrome windows from content context.  We should disallow this.
Interesting find. I assume a lot of unit tests would also need an update.
[Mass Change 2018-01-15] Moving bugs to backlog
Priority: -- → P3

Problem here is that findWindow doesn't care about the context and always checks both the Chrome and DOM windows:

To fix that we should pass in the wanted context, or directly retrieve it inside this method.

No longer depends on: marionette-window-tracking
You need to log in before you can comment on or make changes to this bug.