Skip to content

Commit d5605ad

Browse files
committed
Expose URLPattern everywhere
I've drafted a set of criteria for which interfaces to expose universally on all globals, at w3ctag/design-principles#510. URLPattern looks like it fits those criteria and is useful to have in any environment.
1 parent 20e4de9 commit d5605ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

explainer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ Contributions and review provided by:
404404
* Kenji Baheux
405405
* L. David Baron
406406
* Ralph Chelala
407+
* Philip Chimento
407408
* Kenneth Rohde Christiansen
408409
* Victor Costan
409410
* Domenic Denicola

spec.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ It can be constructed using a string for each component, or from a shorthand str
183183
<xmp class="idl">
184184
typedef (USVString or URLPatternInit) URLPatternInput;
185185

186-
[Exposed=(Window,Worker)]
186+
[Exposed=*]
187187
interface URLPattern {
188188
constructor(URLPatternInput input, USVString baseURL, optional URLPatternOptions options = {});
189189
constructor(optional URLPatternInput input = {}, optional URLPatternOptions options = {});

0 commit comments

Comments
 (0)