LibWeb/URLPattern: Implement IDL interface for URLPattern test and exec

There is further work needed to complete the implementation of
URL::Pattern::Pattern, but this implements the remaining URLPattern
exec and test IDL interfaces, leaving all remaining work to LibURL.
This commit is contained in:
Shannon Booth 2025-03-01 18:44:31 +13:00 committed by Tim Flynn
commit 569ebeb6a4
Notes: github-actions[bot] 2025-03-04 21:52:41 +00:00
3 changed files with 27 additions and 6 deletions

View file

@ -6,7 +6,7 @@ interface URLPattern {
constructor(URLPatternInput input, USVString baseURL, optional URLPatternOptions options = {});
constructor(optional URLPatternInput input = {}, optional URLPatternOptions options = {});
[FIXME] boolean test(optional URLPatternInput input = {}, optional USVString baseURL);
boolean test(optional URLPatternInput input = {}, optional USVString baseURL);
URLPatternResult? exec(optional URLPatternInput input = {}, optional USVString baseURL);