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

Implement WebDriver BiDi interception in the show the picker algorithm #9844

Closed
wants to merge 1 commit into from
Closed

Implement WebDriver BiDi interception in the show the picker algorithm #9844

wants to merge 1 commit into from

Conversation

jrandolf-2
Copy link

@jrandolf-2 jrandolf-2 commented Oct 9, 2023

(See WHATWG Working Mode: Changes for more details.)

CC: @jgraham @gsnedders


/infrastructure.html ( diff )
/input.html ( diff )

@jrandolf-2 jrandolf-2 marked this pull request as ready for review October 9, 2023 22:54
Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

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

At least two implementers are interested (and none opposed):

Mozilla + Chromium:

this just links back to this PR. Do you have more concrete evidence of support?

Any plans for web platform tests?

https://w3c.github.io/webdriver-bidi/#webdriver-bidi-file-dialog-opened does not go anywhere currently; marking as "do not merge yet" until that appears.

@@ -52390,7 +52391,11 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<ol>
<li><p>Optionally, wait until any prior execution of this algorithm has terminated.</p></li>

<li><p>Display a prompt to the user requesting that the user specify some files. If the <code
<li><p>Let <var>intercepted</var> be the result of <span>WebDriver BiDi file dialog opened</span> with <var>element</var></p></li>
Copy link
Member

Choose a reason for hiding this comment

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

Period at end of sentence. And rewrap to 100 chars using https://domenic.github.io/rewrapper/ .


<li>If <var>intercepted</var> is true, then return.</li>

<li><p>Otherwise, display a prompt to the user requesting that the user specify some files. If the <code
Copy link
Member

Choose a reason for hiding this comment

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

No need to change this by introducing "Otherwise,"; it's after a "then return".

@domenic domenic added do not merge yet Pull request must not be merged per rationale in comment integration Better coordination across standards needed labels Oct 23, 2023
@lukewarlow
Copy link
Member

Why does this only intercept the show picker algorithm for file inputs? Seems like it would be useful to test all the show picker algorithms?

@jgraham
Copy link
Member

jgraham commented Oct 27, 2023

Gecko supports this.

Tests are also required on the WebDriver side (which is defacto where this would be tested), and there's now a good track record of actually writing tests for those changes, so I personally don't think that this PR has to block on tests (although of course that's not my decision to make :) )

@jrandolf-2 jrandolf-2 closed this by deleting the head repository Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge yet Pull request must not be merged per rationale in comment integration Better coordination across standards needed
Development

Successfully merging this pull request may close these issues.

4 participants