LibWeb: Resolve HTMLFormElement.action relative to document base URL

Rather than returning a relative URL, an absolutized URL is now
returned relative to the document base URL
This commit is contained in:
Tim Ledbetter 2024-09-08 00:51:59 +01:00 committed by Andreas Kling
commit 48e5d28ec9
Notes: github-actions[bot] 2024-09-08 07:48:40 +00:00
3 changed files with 21 additions and 4 deletions

View file

@ -0,0 +1,3 @@
form.action initial value: http://www.example.com/
Final segment of form.action after setting to the empty string: HTMLFormElement-action.html
Final segment of form.action after setting to "../test.html": test.html