Closed Bug 2005558 Opened 2 months ago Closed 25 days ago

Apply viewport settings for new browsing contexts before a browser element is attached

Categories

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

task
Points:
5

Tracking

(firefox149 fixed)

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: Sasha, Assigned: Sasha)

References

(Blocks 3 open bugs)

Details

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

Attachments

(5 files)

To make sure that viewport override is applied before window.open returns, we have to update the browser element dimensions before it's attached.

Blocks: 1994680
Blocks: 1985997
Blocks: 1838663
No longer blocks: 1985997, 1994680
Blocks: 1985997, 1994680
Blocks: 1999493
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Blocks: 2011825
Attachment #9539421 - Attachment description: Bug 2005558 - Call WebDriver BiDi method to apply viewport settings before a browser element is inserted. → Bug 2005558 - Send a notification when a browser element is created.
Pushed by aborovova@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f422a6c022a8 https://hg.mozilla.org/integration/autoland/rev/a542d1295bf9 Send a notification when a browser element is created. r=tabbrowser-reviewers,dao https://github.com/mozilla-firefox/firefox/commit/cd507d1ef4e7 https://hg.mozilla.org/integration/autoland/rev/3ab63b658ddc [webdriver-bidi] Apply viewport settings for a newly created browser context before a browser element is inserted. r=jdescottes https://github.com/mozilla-firefox/firefox/commit/02eba34c8b52 https://hg.mozilla.org/integration/autoland/rev/fbb760470c08 [webdriver-bidi] Rename session data category from "viewport-overrides" to "viewport-override" to align with other overrides. r=jdescottes https://github.com/mozilla-firefox/firefox/commit/b4387ac2ad86 https://hg.mozilla.org/integration/autoland/rev/9bfd1f73b01a [webdriver-bidi] Apply parent process emulations in "_configuration" module. r=jdescottes https://github.com/mozilla-firefox/firefox/commit/cd9182b5a4a6 https://hg.mozilla.org/integration/autoland/rev/c5669b70e0fa [wdspec] Update the test to verify that a viewport is updated before the "window.open" returns. r=jdescottes
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/57706 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m19] → [webdriver:m19], [wptsync upstream]
Regressions: 2016112
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: