From 531a2ccf8b45eb5149b73c4e91839b06239db20b Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 4 Dec 2023 14:36:51 +0900 Subject: [PATCH] Meta: fix some exported terms * "match" was not namespaced. * "Web IDL" was mispelled as "WebIDL". --- spec.bs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec.bs b/spec.bs index ee63e05..adfd67c 100644 --- a/spec.bs +++ b/spec.bs @@ -431,7 +431,7 @@ Each {{URLPattern}} object has an associated hash component<
The test(|input|, |baseURL|) method steps are: - 1. Let |result| be the result of [=match=] given [=this=], |input|, and |baseURL| if given. + 1. Let |result| be the result of [=URLPattern/match=] given [=this=], |input|, and |baseURL| if given. 1. If |result| is null, return false. 1. Return true.
@@ -439,7 +439,7 @@ Each {{URLPattern}} object has an associated hash component<
The exec(|input|, |baseURL|) method steps are: - 1. Return the result of [=match=] given [=this=], |input|, and |baseURL| if given. + 1. Return the result of [=URLPattern/match=] given [=this=], |input|, and |baseURL| if given.

Internals

@@ -487,7 +487,7 @@ A [=component=] has an associated has regexp groups, a
- To perform a match given a {{URLPattern}} |urlpattern|, a {{URLPatternInput}} |input|, and an optional string |baseURLString|: + To perform a match given a {{URLPattern}} |urlpattern|, a {{URLPatternInput}} |input|, and an optional string |baseURLString|: 1. Let |protocol| be the empty string. 1. Let |username| be the empty string. @@ -1958,7 +1958,7 @@ JavaScript APIs should accept all of: To accomplish this, specifications should accept {{URLPatternCompatible}} as an argument to an [=operation=] or [=dictionary member=], and process it using the following algorithm, using the appropriate [=environment settings object=]'s [=environment settings object/API base URL=] or equivalent.
- To build a {{URLPattern}} from a WebIDL value {{URLPatternCompatible}} |input| given [=/URL=] |baseURL| and [=ECMAScript/realm=] |realm|, perform the following steps: + To build a {{URLPattern}} from a Web IDL value {{URLPatternCompatible}} |input| given [=/URL=] |baseURL| and [=ECMAScript/realm=] |realm|, perform the following steps: 1. If the [=specific type=] of |input| is {{URLPattern}}: 1. Return |input|.