web-platform-tests / rfcs

web-platform-tests RFCs
75 stars 63 forks source link

RFC 121: Add testdriver.js support for Custom Handlers registration #121

Closed javifernandez closed 1 year ago

javifernandez commented 1 year ago

Add testdriver.js support for Custom Handlers testing automation.

jcscottiii commented 1 year ago

Hi @javifernandez. There was a discussion on this. This RFC will be automatically accepted once the HTML change is accepted. But note: there should be webdriver and infrastructure tests

foolip commented 1 year ago

@javifernandez what's the status of https://github.com/whatwg/html/pull/8267, do you expect that to land in HTML soon?

javifernandez commented 1 year ago

@javifernandez what's the status of whatwg/html#8267, do you expect that to land in HTML soon?

I'm still working on settle down on the spec text; there are some concepts that are not clear enough yet. Hopefully I could complete this work soon.

However, we would need some explicit support from Firefox if we want to land the changes in the HTML spec. I've filed a position-request for Mozilla, and @jgraham offered to comment there, but still no feedback. I assume the positive signals from Chrome (unless you tell me otherwise) since there were no opposition to the intent-to-prototype.

javifernandez commented 1 year ago

The PR [1] to change the HTML spec has been merged already with the support of Chrome and Firefox, defining a new WebDriver extension command for testing automation with protocol handlers.

I'll start implementing the change for ChromeDriver then.

[1] https://github.com/whatwg/html/pull/8267

javifernandez commented 1 year ago

The PR#35792 is pending of reviews to add the new automated tests, using the new WebDriver command. I guess once it's merged we can do the same with this one.