serenity icon indicating copy to clipboard operation
serenity copied to clipboard

LibWeb: Implement `HTMLFormElement.requestSubmit()`

Open tcl3 opened this issue 1 year ago • 0 comments

This PR implements the HTMLFormElement.requestSubmit() method, which can be used to programatically submit a form using a specific submit button.

My motivation for adding this is that I wanted to use it in a test I had previously written; I've taken the opportunity to update that test as part of this PR.

This method also appears to be used by some WPT tests.

tcl3 avatar Feb 15 '24 18:02 tcl3