Open Bug 1840084 Opened 2 years ago Updated 13 hours ago

Implement "browsingContext.setViewport" command on Android

Categories

(Remote Protocol :: WebDriver BiDi, task, P3)

Unspecified
Android
task

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Blocks 2 open bugs, )

Details

(Whiteboard: [webdriver:backlog])

With bug 1838664 we will get initial support for modifying the viewport size. It works great on desktop but fails on mobile because the height and width of the browser doesn't seem to change.

This needs more investigation to why it's not working and what other solution we might need.

Severity: -- → S3
Priority: -- → P3

We should probably have a look at this bug and at least should know why it's failing on Android so that we can file a platform bug (if needed). As of now this is failing at least 85 viewport related wdspec tests.

Whiteboard: [webdriver:triage]

We can actually pass 48 tests for the invalid.py tests when we move the assertion for desktop to some later line in our browsingContext.setViewport implementation - so that we can catch up with Chrome.

It should be possible to do it on Android. It would be nice to have for RefTest, but it's most likely not a high priority at the moment.

(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #2)

We can actually pass 48 tests for the invalid.py tests when we move the assertion for desktop to some later line in our browsingContext.setViewport implementation - so that we can catch up with Chrome.

We should do this update given that this is only a single line.

Whiteboard: [webdriver:triage] → [webdriver:backlog]
You need to log in before you can comment on or make changes to this bug.