mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb/URLPattern: Implement the URLPattern IDL getters
These simply return the compiled URLPattern pattern strings for each component, and whether any of the components contained any regexp groups.
This commit is contained in:
parent
f3662c6f88
commit
cf7b775709
Notes:
github-actions[bot]
2025-02-18 00:11:33 +00:00
Author: https://github.com/shannonbooth
Commit: cf7b775709
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3547
3 changed files with 92 additions and 9 deletions
|
@ -10,16 +10,16 @@ interface URLPattern {
|
|||
|
||||
URLPatternResult? exec(optional URLPatternInput input = {}, optional USVString baseURL);
|
||||
|
||||
[FIXME] readonly attribute USVString protocol;
|
||||
[FIXME] readonly attribute USVString username;
|
||||
[FIXME] readonly attribute USVString password;
|
||||
[FIXME] readonly attribute USVString hostname;
|
||||
[FIXME] readonly attribute USVString port;
|
||||
[FIXME] readonly attribute USVString pathname;
|
||||
[FIXME] readonly attribute USVString search;
|
||||
[FIXME] readonly attribute USVString hash;
|
||||
readonly attribute USVString protocol;
|
||||
readonly attribute USVString username;
|
||||
readonly attribute USVString password;
|
||||
readonly attribute USVString hostname;
|
||||
readonly attribute USVString port;
|
||||
readonly attribute USVString pathname;
|
||||
readonly attribute USVString search;
|
||||
readonly attribute USVString hash;
|
||||
|
||||
[FIXME] readonly attribute boolean hasRegExpGroups;
|
||||
readonly attribute boolean hasRegExpGroups;
|
||||
};
|
||||
|
||||
// https://urlpattern.spec.whatwg.org/#dictdef-urlpatterninit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue