Open
Bug 1426208
Opened 6 years ago
Updated 1 year ago
WebDriver:SwitchToWindow lets you switch to chrome windows from content context
Categories
(Remote Protocol :: Marionette, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: ato, Unassigned)
Details
The WebDriver:SwitchToWindow command lets you switch to chrome windows from content context. We should disallow this.
Reporter | ||
Updated•6 years ago
|
Depends on: marionette-window-tracking
Comment 1•6 years ago
|
||
Interesting find. I assume a lot of unit tests would also need an update.
Comment 3•5 years ago
|
||
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
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•