-
Notifications
You must be signed in to change notification settings - Fork 51
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
Introduce Browser Permissions for WebDriver BiDi #431
Conversation
@OrKoN I see this is currently a draft, happy to review when you think it's ready. |
@miketaylr thanks! I double checked if I have included everything from the previous PR and looks like I fixed the compilation errors so I believe it's now ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but let's get someone else to review as well (preferably someone more familiar with WebDriver-BiDi). :)
Filed WebKit bug... hey, @gsnedders, would you mind having a look at this too? |
@OrKoN, apart from tests, what else needs to happen on the WPT side? Do we need to add somethings to testdriver_vendor.js etc? |
@marcoscaceres this PR replicates the WebDriver Classic functionality so there is no need to extend testdriver.js currently. For now we only plan to add WPT tests for the extension spec itself (similar to webdriver/tests/classic/permissions/set.py). Eventually we want to expose WebDriver BiDi via testdriver-vendor.js when there is a need to testing event-based features of WebDriver BiDi or if there are new BiDi features that are not available in WebDriver Classic. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We reviewed on the WebKit side and we are content for this to land too.
@miketaylr do you know if we need more reviewers? I can start working on WPT tests and Chrome implementation at the end of December. Should we wait until WPT tests are there before landing? |
Nope - we're good on the review side of things, especially with WebKit's support. It would be ideal if the WPTs landed before we merged, but if you pinky swear to do them I don't mind merging now. |
@miketaylr I have started WPT tests here web-platform-tests/wpt#43802 and started to work on the implementation. One thing I have noticed is that probably we would need to adjust the BiDi part of the spec text. In particular, |
@OrKoN let's do whatever is simplest for you. I'm happy to merge this as-is, and we can iterate in a new PR, or we can continue here. |
@miketaylr I think it will be simpler to land this first so it's easier to review the differences and avoid merge conflicts. Would you mind merging the PR then? |
Thanks Marcos! Sorry to have missed this notification @OrKoN... |
Closes #424
The following tasks have been completed:
Implementation commitment:
Based on #425 by @thiagowfx
Preview | Diff