Closed Bug 1759559 Opened 3 years ago Closed 3 years ago

Implement "browsingContext.create" command

Categories

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

task
Points:
8

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: whimboo, Assigned: jdescottes)

References

(Blocks 2 open bugs, )

Details

(Whiteboard: [bidi-m3-mvp], [wptsync upstream])

Attachments

(4 files, 6 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
No description provided.

As discussed in the meeting today we want to leverage from this command to run individual navigation tests isolated in their own tab.

Points: --- → 8
Priority: -- → P2
Whiteboard: [bidi-m3-mvp]

Note there is a pending discussion item for this command:

HTML’s window open steps depend on the "entry global object" and WebDriver’s New Window command depends on the "current browsing context". Given that we don’t have any such implicit context here, what OS window should new tabs be opened in?

meaning it's not clear in which window new tabs should be opened. It might make sense to use the topmost window?

See also https://github.com/w3c/webdriver-bidi/pull/153 for a proposal to add an optional context argument, which addresses the issue above.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Attachment #9268901 - Attachment is obsolete: true
Attachment #9272186 - Attachment description: Bug 1759559 - [wdspec] Add browsingContext create → Bug 1759559 - [wdspec] Add create command to browsing context module of WebDriver BiDi client
Blocks: 1765619

Comment on attachment 9272188 [details]
Bug 1759559 - [webdriver-bidi] Add context parameter to browsingContext.create command

Revision D143651 was moved to bug 1765619. Setting attachment 9272188 [details] to obsolete.

Attachment #9272188 - Attachment is obsolete: true

Comment on attachment 9272189 [details]
Bug 1759559 - [wdspec] Support context parameter context for browsing context create

Revision D143652 was moved to bug 1765619. Setting attachment 9272189 [details] to obsolete.

Attachment #9272189 - Attachment is obsolete: true

Comment on attachment 9272190 [details]
Bug 1759559 - [wdspec] Update wdspec tests for the browsingContext.create context parameter

Revision D143653 was moved to bug 1765619. Setting attachment 9272190 [details] to obsolete.

Attachment #9272190 - Attachment is obsolete: true

Comment on attachment 9272191 [details]
Bug 1759559 - [webdriver-bidi] Add gecko specific webdriver test for browsingContext.create context argument

Revision D143654 was moved to bug 1765619. Setting attachment 9272191 [details] to obsolete.

Attachment #9272191 - Attachment is obsolete: true

Update the addTab API to support BiDi's browsingContext.create, including the context argument

Blocks: 1766329
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/14fc7214e077 [remote] Add focus and window parameters to TabManager.addTab r=webdriver-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/eebfe12bce78 [webdriver-bidi] Implement browsingContext.create command r=webdriver-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/0e85aff12e73 [wdspec] Add create command to browsing context module of WebDriver BiDi client r=webdriver-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/cac484b3adb8 [wdspec] Add webplatform tests for browsingContext.create r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/33838 for changes under testing/web-platform/tests
Whiteboard: [bidi-m3-mvp] → [bidi-m3-mvp], [wptsync upstream]
Upstream PR was closed without merging

The update 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:

Comment on attachment 9298117 [details]
Bug 1759559 - [remote] Add reference context parameter to TabManager addTab

Revision D159121 was moved to bug 1765619. Setting attachment 9298117 [details] to obsolete.

Attachment #9298117 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: