LibWeb: Implement URL.canParse(url, base)

This patch adds an implementation of the URL.canParse(url, base) static
function :^)
This commit is contained in:
networkException 2023-04-11 14:57:34 +02:00 committed by Linus Groh
commit b1e43c9ea1
Notes: sideshowbarker 2024-07-17 00:47:29 +09:00
3 changed files with 19 additions and 0 deletions

View file

@ -5,6 +5,8 @@
interface URL {
constructor(USVString url, optional USVString base);
static boolean canParse(USVString url, optional USVString base);
stringifier attribute USVString href;
readonly attribute USVString origin;
attribute USVString protocol;