mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Implement URL::parse() (#32819)
* Implement URL::parse() Signed-off-by: Shane Handley <shanehandley@fastmail.com> * fix: Make handling more idiomatic Signed-off-by: Shane Handley <shanehandley@fastmail.com> --------- Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
parent
a007baa4cf
commit
45eabad169
6 changed files with 25 additions and 129 deletions
|
@ -8,6 +8,7 @@
|
|||
interface URL {
|
||||
[Throws] constructor(USVString url, optional USVString base);
|
||||
|
||||
static URL? parse(USVString url, optional USVString base);
|
||||
static boolean canParse(USVString url, optional USVString base);
|
||||
|
||||
[SetterThrows]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue