mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Implement URL.parse
This was an addition to the URL spec, see: https://github.com/whatwg/url/commit/58acb0
This commit is contained in:
parent
67ea56da59
commit
9b6a1de777
Notes:
sideshowbarker
2024-07-16 23:03:06 +09:00
Author: https://github.com/shannonbooth
Commit: 9b6a1de777
Pull-request: https://github.com/SerenityOS/serenity/pull/24309
5 changed files with 123 additions and 10 deletions
|
@ -29,6 +29,7 @@ public:
|
|||
static WebIDL::ExceptionOr<String> create_object_url(JS::VM&, JS::NonnullGCPtr<FileAPI::Blob> object);
|
||||
static WebIDL::ExceptionOr<void> revoke_object_url(JS::VM&, StringView url);
|
||||
|
||||
static JS::GCPtr<DOMURL> parse_for_bindings(JS::VM&, String const& url, Optional<String> const& base = {});
|
||||
static bool can_parse(JS::VM&, String const& url, Optional<String> const& base = {});
|
||||
|
||||
WebIDL::ExceptionOr<String> href() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue