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

[testdriver] Add test_driver.bidi.permissions.set_permission #49170

Merged
merged 8 commits into from
Nov 15, 2024

Conversation

sadym-chromium
Copy link
Contributor

@sadym-chromium sadym-chromium commented Nov 14, 2024

Add permissions.setPermission command to test_driver.bidi.permissions.set_permission.

RFC is not required, as the method matches a WebDriver BiDi command.

Copy link
Contributor

@OrKoN OrKoN left a comment

Choose a reason for hiding this comment

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

LGTM

@sadym-chromium sadym-chromium changed the title Add test_driver.bidi.permissions.set_permission [testdriver] Add test_driver.bidi.permissions.set_permission Nov 14, 2024
@sadym-chromium
Copy link
Contributor Author

@OrKoN should the external specifications be stored in external test_driver.bidi.external.permissions.set_permission?

@OrKoN
Copy link
Contributor

OrKoN commented Nov 14, 2024

@OrKoN should the external specifications be stored in external test_driver.bidi.external.permissions.set_permission?

I believe the external thing is specific to organizing tests of WebDriver BiDi in WPT. The classic permission spec was also external and it was not prefixed with external in neither classic tests tests nor in testdriver.js API. So, no, I do not think we need .external in testdriver.js.

@sadym-chromium sadym-chromium merged commit 0231dcd into master Nov 15, 2024
42 checks passed
@sadym-chromium sadym-chromium deleted the sadym/permissions branch November 15, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra testdriver.js wptrunner The automated test runner, commonly called through ./wpt run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants