mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:27:46 +00:00
LibWeb: Add the URL::href attribute and URL::to_json method
This commit is contained in:
parent
e6abc1b44e
commit
1841fbd3e4
3 changed files with 38 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
interface URL {
|
||||
constructor(USVString url, optional USVString base);
|
||||
|
||||
// TODO: stringifier attribute USVString href;
|
||||
stringifier attribute USVString href;
|
||||
// TODO: readonly attribute USVString origin;
|
||||
// TODO: attribute USVString protocol;
|
||||
// TODO: attribute USVString username;
|
||||
|
@ -14,5 +14,5 @@ interface URL {
|
|||
// TODO: [SameObject] readonly attribute URLSearchParams searchParams;
|
||||
// TODO: attribute USVString hash;
|
||||
|
||||
// TODO: USVString toJSON();
|
||||
USVString toJSON();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue