Closed Bug 1765619 Opened 2 years ago Closed 2 years ago

Support the context parameter for browsingContext.create

Categories

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

task
Points:
3

Tracking

(firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 2 open bugs, )

Details

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

Attachments

(6 files)

The context parameter is proposed at https://github.com/w3c/webdriver-bidi/pull/153

It allows to specify a reference context for browsingContext.create. When type "tab" is used the new context should share the same OS window as the reference context.

This bug is about adding the implementation for this parameter, but we should at least wait until the spec PR is close to be accepted to move forward.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Whiteboard: [webdriver:backlog]
Points: --- → 5
Priority: -- → P3

The PR got merged so this bug is no longer blocked. Julian, do you want to continue working on it?

I will at least rebase and update the patches to match the PR, we can discuss if that should be in m5 then.

Flags: needinfo?(jdescottes)

The updated version of the browsingContext.create spec mentions that the new tab should be added right after the reference context when
provided. We need to extend TabManager.addTab in order to support this behavior:

Points: 5 → 3
Flags: needinfo?(jdescottes)
Priority: P3 → P1
Whiteboard: [webdriver:backlog] → [webdriver:m5]
Attachment #9273131 - Attachment description: Bug 1765619 - [wdspec] Support context parameter context for browsing context create → Bug 1765619 - [webdriver] Support context parameter context for browsing context create
Attachment #9298118 - Attachment description: Bug 1765619 - [remote] Add reference context parameter to TabManager addTab → Bug 1765619 - [remote] Add referenceTab parameter to TabManager addTab
See Also: → 1795266
Blocks: 1795346
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f497dc5418fb
[remote] Add referenceTab parameter to TabManager addTab r=webdriver-reviewers,Sasha,whimboo
https://hg.mozilla.org/integration/autoland/rev/bfcad162f26d
[remote] Add getTabForBrowsingContext helper in TabManager r=webdriver-reviewers,whimboo
https://hg.mozilla.org/integration/autoland/rev/d9ddc65fcb38
[webdriver-bidi] Add context parameter to browsingContext.create command r=webdriver-reviewers,Sasha,whimboo
https://hg.mozilla.org/integration/autoland/rev/744c82b97d76
[webdriver] Support context parameter context for browsing context create r=webdriver-reviewers,Sasha,whimboo
https://hg.mozilla.org/integration/autoland/rev/6f36f9508aa4
[wdspec] Update wdspec tests for the browsingContext.create context parameter r=webdriver-reviewers,whimboo
https://hg.mozilla.org/integration/autoland/rev/9335bd19ed0d
[webdriver-bidi] Add gecko specific webdriver test for browsingContext.create context argument r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/36466 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m5] → [webdriver:m5], [wptsync upstream]
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: