mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-30 16:28:48 +00:00
LibWeb/URLPattern: Add a stub for URLPattern.exec
Just enough to get the IDL compiling :^)
This commit is contained in:
parent
ba382c454a
commit
8088ab5306
Notes:
github-actions[bot]
2025-02-10 17:06:13 +00:00
Author: https://github.com/shannonbooth
Commit: 8088ab5306
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3237
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 11 additions and 1 deletions
|
@ -36,4 +36,11 @@ WebIDL::ExceptionOr<GC::Ref<URLPattern>> URLPattern::construct_impl(JS::Realm& r
|
|||
return realm.create<URLPattern>(realm);
|
||||
}
|
||||
|
||||
// https://urlpattern.spec.whatwg.org/#dom-urlpattern-exec
|
||||
Optional<URLPatternResult> URLPattern::exec(URLPatternInput const&, Optional<String> const&) const
|
||||
{
|
||||
dbgln("FIXME: Implement URLPattern::match");
|
||||
return {};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue