Skip to content

Commit

Permalink
Add URL API (#1850)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel D. Beck <[email protected]>
  • Loading branch information
queengooborg and ddbeck authored Oct 11, 2024
1 parent d959449 commit e633d5c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
14 changes: 6 additions & 8 deletions features/draft/spec/url.yml → features/url.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
draft_date: 2024-09-09
name: URL Standard
description: TODO
name: URL
description: A `URL` object represents a web address, like `https://example.com/`, and parts of the address, such as the domain, path, and query string (as `URLSearchParams`).
spec: https://url.spec.whatwg.org/
caniuse: url
status:
compute_from: api.URL
compat_features:
- api.URL
- api.URL.URL
Expand All @@ -21,7 +23,6 @@ compat_features:
- api.URL.toString
- api.URL.username
- api.URLSearchParams
- api.URLSearchParams.@@iterator
- api.URLSearchParams.URLSearchParams
- api.URLSearchParams.append
- api.URLSearchParams.delete
Expand All @@ -36,7 +37,4 @@ compat_features:
- api.URLSearchParams.sort
- api.URLSearchParams.toString
- api.URLSearchParams.values

# The following features in the spec are already part of web-features:
# - URL.canParse():
# - api.URL.canParse_static
- api.URLSearchParams.@@iterator
21 changes: 11 additions & 10 deletions features/draft/spec/url.yml.dist → features/url.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: low
baseline_low_date: 2024-09-16
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "126"
chrome_android: "126"
edge: "126"
firefox: "126"
firefox_android: "126"
safari: "18"
safari_ios: "18"
chrome: "32"
chrome_android: "32"
edge: "12"
firefox: "19"
firefox_android: "19"
safari: "7"
safari_ios: "7"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
Expand Down Expand Up @@ -200,7 +202,6 @@ compat_features:
# safari_ios: "17"
- api.URLSearchParams.size

# ⬇️ Same status as overall feature ⬇️
# baseline: low
# baseline_low_date: 2024-09-16
# support:
Expand Down

0 comments on commit e633d5c

Please sign in to comment.