-
Notifications
You must be signed in to change notification settings - Fork 199
Add Location #1905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add Location #1905
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1f2eccf
update desc, add compute_from rationale
autonome e43e39a
Revert "update desc, add compute_from rationale"
autonome f1f9fbe
Merge branch 'main' of https://github.com/web-platform-dx/web-features
autonome b92ee87
Merge branch 'main' of https://github.com/web-platform-dx/web-features
autonome ae76b12
Add location feature
autonome ffd6341
add dist
autonome 96fc4a6
remove from draft
autonome 21eae8e
Merge branch 'main' into location
autonome c72cbaa
Merge branch 'main' into location
autonome e9c6597
add impls
autonome 3625d5d
Merge branch 'main' into location
autonome 6a7fb7c
update html draft
autonome 34ce77c
Update features/location.yml
autonome 633e7fa
merge
autonome c69d41c
merge
autonome 3125d8d
Merge branch 'main' into location
autonome File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| name: Location | ||
| description: The `location` global object represents the current page's address. You can use it to get the parts of the address (such as `location.hostname` or `location.pathname`) or navigate to another URL. | ||
| spec: https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-location-interface | ||
| # `ancestorOrigins` makes this baseline false but is not required for usage of the feature. | ||
| status: | ||
| compute_from: api.Window.location | ||
| compat_features: | ||
autonome marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - api.Document.location | ||
| - api.Location | ||
| - api.Location.ancestorOrigins | ||
| - api.Location.assign | ||
| - api.Location.hash | ||
| - api.Location.host | ||
| - api.Location.hostname | ||
| - api.Location.href | ||
| - api.Location.origin | ||
| - api.Location.pathname | ||
| - api.Location.port | ||
| - api.Location.protocol | ||
| - api.Location.reload | ||
| - api.Location.replace | ||
| - api.Location.search | ||
| - api.Location.toString | ||
| - api.Window.location | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| # Generated from: location.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: high | ||
| baseline_low_date: 2015-07-29 | ||
| baseline_high_date: 2018-01-29 | ||
| support: | ||
| chrome: "1" | ||
| chrome_android: "18" | ||
| edge: "12" | ||
| firefox: "1" | ||
| firefox_android: "4" | ||
| safari: "1" | ||
| safari_ios: "1" | ||
| compat_features: | ||
| # ⬇️ Same status as overall feature ⬇️ | ||
| # baseline: high | ||
| # baseline_low_date: 2015-07-29 | ||
| # baseline_high_date: 2018-01-29 | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "1" | ||
| # firefox_android: "4" | ||
| # safari: "1" | ||
| # safari_ios: "1" | ||
| - api.Document.location | ||
| - api.Location | ||
| - api.Location.hash | ||
| - api.Location.host | ||
| - api.Location.hostname | ||
| - api.Location.href | ||
| - api.Location.pathname | ||
| - api.Location.port | ||
| - api.Location.protocol | ||
| - api.Location.reload | ||
| - api.Location.replace | ||
| - api.Location.search | ||
| - api.Window.location | ||
|
|
||
| # baseline: high | ||
| # baseline_low_date: 2015-07-29 | ||
| # baseline_high_date: 2018-01-29 | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "1" | ||
| # firefox_android: "4" | ||
| # safari: "3" | ||
| # safari_ios: "1" | ||
| - api.Location.assign | ||
|
|
||
| # baseline: high | ||
| # baseline_low_date: 2015-07-29 | ||
| # baseline_high_date: 2018-01-29 | ||
| # support: | ||
| # chrome: "8" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "21" | ||
| # firefox_android: "21" | ||
| # safari: "5.1" | ||
| # safari_ios: "5" | ||
| - api.Location.origin | ||
|
|
||
| # baseline: high | ||
| # baseline_low_date: 2016-07-27 | ||
| # baseline_high_date: 2019-01-27 | ||
| # support: | ||
| # chrome: "52" | ||
| # chrome_android: "52" | ||
| # edge: "12" | ||
| # firefox: "22" | ||
| # firefox_android: "22" | ||
| # safari: "1" | ||
| # safari_ios: "1" | ||
| - api.Location.toString | ||
|
|
||
| # baseline: false | ||
| # support: | ||
| # chrome: "20" | ||
| # chrome_android: "25" | ||
| # edge: "79" | ||
| # safari: "6" | ||
| # safari_ios: "6" | ||
| - api.Location.ancestorOrigins |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.