Open Bug 1653287 Opened 4 years ago Updated 1 year ago

WebDriver:GetWindowRect returns wrong data when in headless mode

Categories

(Remote Protocol :: Marionette, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

As reported on Github we currently fail to report the correct window size of the top-level browsing context. Reason is that we do not differentiate between chrome and content scope and always return the values of the browser window itself.

The severity field is not set for this bug.
:whimboo, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(hskupin)
Mentor: hskupin
Severity: -- → S3
Flags: needinfo?(hskupin)
Whiteboard: [lang=js]

This can be fixed with the Fission work when using the actor or the appropriate browsing context. Once it is clear we should mark this bug blocking bug 1518468 or bug 1565183.

Whiteboard: [lang=js] → [marionette-fission-mvp][lang=js]
Fission Milestone: --- → M6c
Mentor: hskupin
Whiteboard: [marionette-fission-mvp][lang=js] → [marionette-fission-mvp][simple]
Blocks: 1563251
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED

Moving marionette-fission-mvp bugs from Fission Nightly Experiment milestone (M6b) to Fission Beta milestone (M7).

Fission Milestone: M6c → M7

Actually this command works as expected even for Fission and won't need any code changes. This is what Julian and I figured out via Matrix.

Instead this bug is based on a github issue (see the URL above) and only applies to headless mode. We should investigate it a bit further when time permits. Right now it's not a priority.

Assignee: jdescottes → nobody
Status: ASSIGNED → NEW
Fission Milestone: M7 → ---
Summary: WebDriver:GetWindowRect has to return the dimensions of the top-level browsing context when in content scope → WebDriver:GetWindowRect returns wrong data when in headless mode
Whiteboard: [marionette-fission-mvp][simple]
No longer blocks: 1563251
Product: Testing → Remote Protocol

Might depend on bug 1563161 given that the github issue was reported for headless mode.

Depends on: 1563161
You need to log in before you can comment on or make changes to this bug.