mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:17:45 +00:00
LibWeb: Implement URL.canParse(url, base)
This patch adds an implementation of the URL.canParse(url, base) static function :^)
This commit is contained in:
parent
0e552f1d7a
commit
b1e43c9ea1
3 changed files with 19 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue