Closed Bug 1923831 Opened 1 month ago Closed 26 days ago

[wdspec] Update window maximization tests to not expect the window to be the size of the screen on Wayland

Categories

(Remote Protocol :: Marionette, defect, P2)

defect
Points:
2

Tracking

(firefox133 fixed)

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: Sasha, Assigned: Sasha)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:m13], [wptsync upstream])

Attachments

(3 files)

While working on the bug 1857571, I've noticed that [the window maximization, when calling window.maximize() command, increases the window size but not to the size of the screen (smaller than that) on Wayland when we expect to be the size of the screen or even slightly larger (see try push).

Also, a comment from the bug 1857571
(In reply to Martin Stránský [:stransky] (ni? me) from comment #27)

Yes I see the same results on Fedora 40. It's not guaranteed on Wayland that any app size/state request is accepted by compositor.

It seems like we can not guarantee that the maximized window has the size of the screen, the Marionette logic works fine since we receive the event, so we can just update the tests for Wayland.

Points: --- → 2
Priority: -- → P2
Summary: Window maximization doesn't work as expected on Wayland → [wpt] Update window maximization tests to not expect the window to be the size of the screen on Wayland
Whiteboard: [webdriver:m13]

I assume this is only about our wdspec tests and no other wpt test of any other component.

Summary: [wpt] Update window maximization tests to not expect the window to be the size of the screen on Wayland → [wdspec] Update window maximization tests to not expect the window to be the size of the screen on Wayland
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7fd5f1828e65 [wdspec] Use os data instead of mozinfo to identify Wayland. r=webdriver-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/4251a2ed50a8 [wdspec] Update window maximization tests to not expect the window to be the size of the screen on Wayland. r=webdriver-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/571747a2c68b Mark minimization tests as failing on Wayland. r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/48818 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m13] → [webdriver:m13], [wptsync upstream]
Blocks: 1927081
Status: ASSIGNED → RESOLVED
Closed: 26 days ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: