LibWeb: Throw a SyntaxError on invalid URL for Location href setter

Aligning with a spec update, fixing 195 tests for:

https://wpt.live/url/failure.html
This commit is contained in:
Shannon Booth 2024-10-06 09:29:49 +13:00 committed by Tim Flynn
commit ea971792b5
Notes: github-actions[bot] 2024-10-06 14:07:18 +00:00
3 changed files with 18 additions and 5 deletions

View file

@ -0,0 +1 @@
Error setting href: SyntaxError: Invalid URL 'http://@:www.invalid-url.com'