mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibWeb: Make factory method of URL::URL fallible
This commit is contained in:
parent
6688f89ad3
commit
ada0a59fc1
2 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ class URL : public Bindings::PlatformObject {
|
|||
WEB_PLATFORM_OBJECT(URL, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<URL> create(JS::Realm&, AK::URL url, JS::NonnullGCPtr<URLSearchParams> query);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<URL>> create(JS::Realm&, AK::URL url, JS::NonnullGCPtr<URLSearchParams> query);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<URL>> construct_impl(JS::Realm&, DeprecatedString const& url, DeprecatedString const& base);
|
||||
|
||||
virtual ~URL() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue