| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c1acef6 commit c7190e6
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,7 +29,7 @@ Last update: | |||
| 29 | 29 | - resources: https://github.com/web-platform-tests/wpt/tree/1d2c5fb36a/resources | |
| 30 | 30 | - streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams | |
| 31 | 31 | - url: https://github.com/web-platform-tests/wpt/tree/9504a83e01/url | |
| 32 | - - urlpattern: https://github.com/web-platform-tests/wpt/tree/cff1ac1123/urlpattern | ||
| 32 | + - urlpattern: https://github.com/web-platform-tests/wpt/tree/aed1f3d244/urlpattern | ||
| 33 | 33 | - user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing | |
| 34 | 34 | - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi | |
| 35 | 35 | - wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3033,5 +3033,80 @@ | |||
| 3033 | 3033 | "hostname": { "input": "example.com", "groups": {} }, | |
| 3034 | 3034 | "pathname": { "input": "/", "groups": { "0": "/" } } | |
| 3035 | 3035 | } | |
| 3036 | + }, | ||
| 3037 | + { | ||
| 3038 | + "pattern": ["https://www.example.com/*"], | ||
| 3039 | + "inputs": ["https://www.example.com/x"], | ||
| 3040 | + "exactly_empty_components": ["port"], | ||
| 3041 | + "expected_obj": { | ||
| 3042 | + "protocol": "https", | ||
| 3043 | + "hostname": "www.example.com", | ||
| 3044 | + "pathname": "/*" | ||
| 3045 | + }, | ||
| 3046 | + "expected_match": { | ||
| 3047 | + "protocol": { "input": "https", "groups": {} }, | ||
| 3048 | + "hostname": { "input": "www.example.com", "groups": {} }, | ||
| 3049 | + "pathname": { "input": "/x", "groups": { "0": "x" } } | ||
| 3050 | + } | ||
| 3051 | + }, | ||
| 3052 | + { | ||
| 3053 | + "pattern": ["https://www.example.com/*"], | ||
| 3054 | + "inputs": ["https://www.example.com/xyz"], | ||
| 3055 | + "exactly_empty_components": ["port"], | ||
| 3056 | + "expected_obj": { | ||
| 3057 | + "protocol": "https", | ||
| 3058 | + "hostname": "www.example.com", | ||
| 3059 | + "pathname": "/*" | ||
| 3060 | + }, | ||
| 3061 | + "expected_match": { | ||
| 3062 | + "protocol": { "input": "https", "groups": {} }, | ||
| 3063 | + "hostname": { "input": "www.example.com", "groups": {} }, | ||
| 3064 | + "pathname": { "input": "/xyz", "groups": { "0": "xyz" } } | ||
| 3065 | + } | ||
| 3066 | + }, | ||
| 3067 | + { | ||
| 3068 | + "pattern": ["https://www.example.com/*"], | ||
| 3069 | + "inputs": ["https://www.example.com/example"], | ||
| 3070 | + "exactly_empty_components": ["port"], | ||
| 3071 | + "expected_obj": { | ||
| 3072 | + "protocol": "https", | ||
| 3073 | + "hostname": "www.example.com", | ||
| 3074 | + "pathname": "/*" | ||
| 3075 | + }, | ||
| 3076 | + "expected_match": { | ||
| 3077 | + "protocol": { "input": "https", "groups": {} }, | ||
| 3078 | + "hostname": { "input": "www.example.com", "groups": {} }, | ||
| 3079 | + "pathname": { "input": "/example", "groups": { "0": "example" } } | ||
| 3080 | + } | ||
| 3081 | + }, | ||
| 3082 | + { | ||
| 3083 | + "pattern": ["https://www.example.com/*"], | ||
| 3084 | + "inputs": ["https://www.example.com/text"], | ||
| 3085 | + "exactly_empty_components": ["port"], | ||
| 3086 | + "expected_obj": { | ||
| 3087 | + "protocol": "https", | ||
| 3088 | + "hostname": "www.example.com", | ||
| 3089 | + "pathname": "/*" | ||
| 3090 | + }, | ||
| 3091 | + "expected_match": { | ||
| 3092 | + "protocol": { "input": "https", "groups": {} }, | ||
| 3093 | + "hostname": { "input": "www.example.com", "groups": {} }, | ||
| 3094 | + "pathname": { "input": "/text", "groups": { "0": "text" } } | ||
| 3095 | + } | ||
| 3096 | + }, | ||
| 3097 | + { | ||
| 3098 | + "pattern": ["https://www.example.com/*"], | ||
| 3099 | + "inputs": ["https://www.example.com/path/with/x"], | ||
| 3100 | + "exactly_empty_components": ["port"], | ||
| 3101 | + "expected_obj": { | ||
| 3102 | + "protocol": "https", | ||
| 3103 | + "hostname": "www.example.com", | ||
| 3104 | + "pathname": "/*" | ||
| 3105 | + }, | ||
| 3106 | + "expected_match": { | ||
| 3107 | + "protocol": { "input": "https", "groups": {} }, | ||
| 3108 | + "hostname": { "input": "www.example.com", "groups": {} }, | ||
| 3109 | + "pathname": { "input": "/path/with/x", "groups": { "0": "path/with/x" } } | ||
| 3110 | + } | ||
| 3036 | 3111 | } | |
| 3037 | 3112 | ] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -76,7 +76,7 @@ | |||
| 76 | 76 | "path": "url" | |
| 77 | 77 | }, | |
| 78 | 78 | "urlpattern": { | |
| 79 | - "commit": "cff1ac112375b8089fe9f6bf434f602cf7ef98be", | ||
| 79 | + "commit": "aed1f3d244c589317f0b6bcb84867f11bfd9353c", | ||
| 80 | 80 | "path": "urlpattern" | |
| 81 | 81 | }, | |
| 82 | 82 | "user-timing": { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments