html icon indicating copy to clipboard operation
html copied to clipboard

Custom handlers automation

Open javifernandez opened this issue 3 years ago • 2 comments

This commit adds a new subsection about User Agent Automation in the Custom Handlers section. The purpose of this new subsection is to define a new WebDriver extension command to define auto-replies for the prompt dialog that the spec suggests to offer to the user in order to grant the registration of a new protocol handler.

  • [ ] At least two implementers are interested (and none opposed):
    • https://github.com/mozilla/standards-positions/issues/685
    • https://groups.google.com/a/chromium.org/g/blink-dev/c/VVW1t8xeXXc/m/YImce8AwCAAJ
  • [ ] Tests are written and can be reviewed and commented upon at:
    • https://github.com/web-platform-tests/wpt/pull/35792
  • [ ] Implementation bugs are filed:
    • Chrome; https://bugs.chromium.org/p/chromium/issues/detail?id=1359103
    • Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1788789
    • Safari:

/index.html ( diff ) /infrastructure.html ( diff ) /references.html ( diff ) /system-state.html ( diff )

javifernandez avatar Sep 06 '22 08:09 javifernandez

Thanks for the review. See my comments inline.

javifernandez avatar Sep 12 '22 14:09 javifernandez

Hi @domenic I pushed some changes, trying to address all the changes requested in the last review. Could you please take another look ?

javifernandez avatar Sep 20 '22 10:09 javifernandez

Hi @domenic, thanks for the reviews and the last edits; they all look good to me.

javifernandez avatar Nov 22 '22 09:11 javifernandez

Hmm, I realized this doesn't actually have multi-implementer support? I guess you are implementing for Chromium, but you linked to https://github.com/mozilla/standards-positions/issues/685 for Mozilla, which has no replies.

Let me know when you have a second implementer interested, and then we can merge.

domenic avatar Nov 23 '22 05:11 domenic

Let me know when you have a second implementer interested, and then we can merge.

Yes, I''ve got some informal support from @jgraham during a meeting to review the WPT RFC , but I agree we should wait until we got explicit support in the position request. There is also an ongoing conversation in the Firefox bug I've filed, but again still not clear support there either.

javifernandez avatar Nov 23 '22 23:11 javifernandez

Hmm, I realized this doesn't actually have multi-implementer support? I guess you are implementing for Chromium, but you linked to mozilla/standards-positions#685 for Mozilla, which has no replies.

Let me know when you have a second implementer interested, and then we can merge.

There was some recent feedback on the mozilla standard-position request; do you think it'd be enough to move forward ?

javifernandez avatar Dec 07 '22 00:12 javifernandez

Let's ask: @jgraham, based on your comments there, would you be happy to see this in the HTML Standard?

domenic avatar Dec 07 '22 03:12 domenic

Let's ask: @jgraham, based on your comments there, would you be happy to see this in the HTML Standard?

FWIW, I'm in conversations with some Firefox devs regarding the implementation of this webdriver extension command in Marionette.

javifernandez avatar Jan 10 '23 17:01 javifernandez

I'd say if other implementors are happy with this approach then Mozilla are too.

jgraham avatar Jan 10 '23 18:01 jgraham