Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add URL API #1850

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/
queengooborg marked this conversation as resolved.
Show resolved Hide resolved
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