mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02: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
Notes:
github-actions[bot]
2025-02-10 17:06:13 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/8088ab53061 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3237 Reviewed-by: https://github.com/tcl3 ✅
@@ -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 {};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user