mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
LibWeb/URLPattern: Add a stub for URLPattern.exec
Just enough to get the IDL compiling :^)
This commit is contained in:
committed by
Tim Ledbetter
parent
ba382c454a
commit
8088ab5306
@@ -16,6 +16,7 @@ namespace Web::URLPattern {
|
||||
using URLPatternInit = URL::Pattern::Init;
|
||||
using URLPatternInput = URL::Pattern::Input;
|
||||
using URLPatternOptions = URL::Pattern::Options;
|
||||
using URLPatternResult = URL::Pattern::Result;
|
||||
|
||||
// https://urlpattern.spec.whatwg.org/#urlpattern
|
||||
class URLPattern : public Bindings::PlatformObject {
|
||||
@@ -26,6 +27,8 @@ public:
|
||||
static WebIDL::ExceptionOr<GC::Ref<URLPattern>> construct_impl(JS::Realm&, URLPatternInput const&, String const& base_url, URLPatternOptions const& = {});
|
||||
static WebIDL::ExceptionOr<GC::Ref<URLPattern>> construct_impl(JS::Realm&, URLPatternInput const&, URLPatternOptions const& = {});
|
||||
|
||||
Optional<URLPatternResult> exec(URLPatternInput const&, Optional<String> const&) const;
|
||||
|
||||
virtual ~URLPattern() override;
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user