Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update webdriver-bidi with the new BCD keys #2777

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

captainbrosset
Copy link
Contributor

BCD v5.7.0 introduces new keys for webdriver bidi.

The webdriver bidi feature on this repo used to be hardcoded to the following browser versions:

  • chrome, chrome_android, edge: 106
  • firefox, firefox_android: 102

According to comments that we left when the feature was created, these versions numbers were based on:

Now that BCD has webdriver bidi keys, we can remove our hard-coded values and just start using BCD keys instead. However, doing so in one go, by just adding all of the new BCD keys to our features, makes the feature unsupported on all browsers.

So, we now need to look at the various support data for each key and decide which keys should be part of the feature, which keys might need to be ignored (if any), and which keys should be considered for separate features.

@github-actions github-actions bot added the feature definition Creating or defining new features or groups of features. label Mar 15, 2025
Comment on lines +276 to +290
# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support: {}
- webdriver.bidi.browsingContext.print
- webdriver.bidi.network.addIntercept
- webdriver.bidi.network.beforeRequestSent_event
- webdriver.bidi.network.continueRequest
- webdriver.bidi.network.continueResponse
- webdriver.bidi.network.provideResponse
- webdriver.bidi.network.responseCompleted_event
- webdriver.bidi.network.responseStarted_event
- webdriver.bidi.session.end
- webdriver.bidi.webExtension
- webdriver.bidi.webExtension.install
- webdriver.bidi.webExtension.uninstall
Copy link
Contributor Author

@captainbrosset captainbrosset Mar 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These keys are not supported anywhere. Good candidates to move elsewhere if they belong to a separate feature / later addition. Are they later additions to bidi? Are they needed to use bidi, or separate capabilities?

Comment on lines +233 to +274
# baseline: false
# support:
# chrome: "126"
# chrome_android: "126"
# edge: "126"
- webdriver.bidi.browsingContext.contextCreated_event
- webdriver.bidi.browsingContext.contextDestroyed_event
- webdriver.bidi.browsingContext.create
- webdriver.bidi.browsingContext.locateNodes
- webdriver.bidi.browsingContext.navigate
- webdriver.bidi.browsingContext.navigationCommitted_event
- webdriver.bidi.browsingContext.navigationFailed_event
- webdriver.bidi.browsingContext.reload
- webdriver.bidi.browsingContext.setViewport
- webdriver.bidi.browsingContext.traverseHistory
- webdriver.bidi.browsingContext.userPromptClosed_event
- webdriver.bidi.browsingContext.userPromptOpened_event
- webdriver.bidi.input.setFiles
- webdriver.bidi.log.entryAdded_event
- webdriver.bidi.network.continueWithAuth
- webdriver.bidi.script.getRealms
- webdriver.bidi.script.realmCreated_event
- webdriver.bidi.session.new

# baseline: false
# support:
# chrome: "133"
# chrome_android: "133"
# edge: "133"
- webdriver.bidi.network.fetchError_event

# baseline: false
# support:
# firefox: "122"
# firefox_android: "122"
- webdriver.bidi.network.authRequired_event

# baseline: false
# support:
# firefox: "134"
# firefox_android: "134"
- webdriver.bidi.browser.getClientWindows
Copy link
Contributor Author

@captainbrosset captainbrosset Mar 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These keys are supported either in chromium or in firefox, but not in both, unlike the keys that come before them.
Are they later additions? Should we ignore them from the initial bidi feature and put them into other features?

@captainbrosset
Copy link
Contributor Author

captainbrosset commented Mar 15, 2025

@juliandescottes it'd be great if someone close to the bidi project could take a look at this PR. Feel free to at-mention other people if needed.

One question here is: of the BCD keys in this PR, which represent an initial bidi feature, and more or less match our previously hard-coded data (see PR description).

Also, are there groups of keys we can split out into separate features? Did some of these key come later and represent pieces of capability that developers can use separately from the rest?

Thanks!

@captainbrosset
Copy link
Contributor Author

Also pinging @OrKoN and @Elchi3. Please see my previous comment. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature definition Creating or defining new features or groups of features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant