Skip to content
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

Add Navigator and more navigation pieces #1931

Merged
merged 30 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5a18283
Add navigator and more navigation pieces
autonome Oct 9, 2024
11a25fa
update desc
autonome Oct 9, 2024
56e8180
Update features/navigation.yml
autonome Oct 14, 2024
aa1e497
Update features/navigator.yml
autonome Oct 14, 2024
018f21d
Merge branch 'main' into navigation
autonome Oct 15, 2024
d4949ff
Merge branch 'main' into navigation
autonome Oct 16, 2024
ffba41d
break out separate features
autonome Oct 16, 2024
d13338f
linter fix
autonome Oct 16, 2024
bc20b00
caniuse comments and alignments, misc key fixes
autonome Oct 16, 2024
e5f2073
Merge branch 'main' into navigation
autonome Oct 21, 2024
7beb653
add window.navigator
autonome Oct 21, 2024
6038e2d
Merge branch 'main' into navigation
autonome Oct 23, 2024
b60af4a
desc updates
autonome Oct 23, 2024
945b1ae
Merge branch 'navigation' of https://github.com/autonome/web-features…
autonome Oct 23, 2024
f7f8658
Update features/cookie-enabled.yml
autonome Oct 24, 2024
d790a51
Update features/client-identification.yml
autonome Oct 24, 2024
44b5291
Update features/hardware-concurrency.yml
autonome Oct 24, 2024
7642076
Update features/online.yml
autonome Oct 24, 2024
08ad049
review fixes
autonome Oct 24, 2024
1c9f500
desc fix for online
autonome Oct 24, 2024
37fe9db
Update features/pdf-viewer.yml
autonome Oct 24, 2024
70948fd
Update features/online.yml
autonome Oct 24, 2024
8c4d3fd
Merge branch 'navigation' of https://github.com/autonome/web-features…
autonome Oct 24, 2024
2ba4359
remove pdf caniuse comments
autonome Oct 24, 2024
f63714a
Update features/registerprotocolhandler.yml
autonome Oct 24, 2024
ad3763f
Merge branch 'navigation' of https://github.com/autonome/web-features…
autonome Oct 24, 2024
cc0e6ee
Merge branch 'main' into navigation
autonome Oct 24, 2024
2122679
regen
autonome Oct 24, 2024
c01ca28
Update features/user-agent-sniffing.yml
autonome Oct 25, 2024
0c030b1
Merge branch 'main' into navigation
autonome Oct 25, 2024
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
13 changes: 12 additions & 1 deletion features/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
name: Navigation API
description: The `navigation` API provides mechanisms to initiate, intercept, and manage browser navigation actions.
description: The `navigation` API initiates, intercepts, or modifies browser navigation actions. Not to be confused with the `navigator` API.
spec: https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-api
status:
compute_from: api.Navigation
compat_features:
- api.NavigateEvent
- api.NavigateEvent.NavigateEvent
- api.NavigateEvent.canIntercept
- api.NavigateEvent.destination
- api.NavigateEvent.downloadRequest
- api.NavigateEvent.formData
- api.NavigateEvent.hasUAVisualTransition
- api.NavigateEvent.hashChange
- api.NavigateEvent.info
- api.NavigateEvent.intercept
- api.NavigateEvent.navigationType
- api.NavigateEvent.scroll
- api.NavigateEvent.signal
- api.NavigateEvent.userInitiated
- api.Navigation
- api.Navigation.activation
- api.Navigation.back
- api.Navigation.canGoBack
- api.Navigation.canGoForward
Expand All @@ -28,6 +35,10 @@ compat_features:
- api.Navigation.transition
- api.Navigation.traverseTo
- api.Navigation.updateCurrentEntry
- api.NavigationActivation
- api.NavigationActivation.entry
- api.NavigationActivation.from
- api.NavigationActivation.navigationType
- api.NavigationCurrentEntryChangeEvent
- api.NavigationCurrentEntryChangeEvent.NavigationCurrentEntryChangeEvent
- api.NavigationCurrentEntryChangeEvent.from
Expand Down
33 changes: 33 additions & 0 deletions features/navigation.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ status:
chrome_android: "102"
edge: "102"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# chrome: "102"
# chrome_android: "102"
# edge: "102"
- api.NavigateEvent
- api.NavigateEvent.NavigateEvent
- api.NavigateEvent.destination
Expand Down Expand Up @@ -58,3 +64,30 @@ compat_features:
- api.NavigationTransition.from
- api.NavigationTransition.navigationType
- api.Window.navigation

# baseline: false
# support:
# chrome: "105"
# chrome_android: "105"
# edge: "105"
- api.NavigateEvent.canIntercept
- api.NavigateEvent.intercept
- api.NavigateEvent.scroll

# baseline: false
# support:
# chrome: "118"
# chrome_android: "118"
# edge: "118"
- api.NavigateEvent.hasUAVisualTransition

# baseline: false
# support:
# chrome: "123"
# chrome_android: "123"
# edge: "123"
- api.Navigation.activation
- api.NavigationActivation
- api.NavigationActivation.entry
- api.NavigationActivation.from
- api.NavigationActivation.navigationType
16 changes: 16 additions & 0 deletions features/navigator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Navigator
description: The `window.navigator` API represents the user agent and its state. It's also the generic global object under which many other APIs are located, such as `clipboard` or `wakeLock`.
spec: https://html.spec.whatwg.org/multipage/system-state.html#the-navigator-object
status:
compute_from: api.Navigator
compat_features:
- api.Navigator
- api.Navigator.cookieEnabled
- api.Navigator.hardwareConcurrency
- api.Navigator.language
- api.Navigator.languages
- api.Navigator.onLine
- api.Navigator.pdfViewerEnabled
- api.Navigator.registerProtocolHandler
- api.Navigator.unregisterProtocolHandler
- api.Navigator.userAgent
104 changes: 104 additions & 0 deletions features/navigator.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Generated from: navigator.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.Navigator
- api.Navigator.language
- api.Navigator.userAgent

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "2"
# chrome_android: "18"
# edge: "12"
# firefox: "1.5"
# firefox_android: "4"
# safari: "4"
# safari_ios: "3.2"
- api.Navigator.onLine

# baseline: high
# baseline_low_date: 2017-10-17
# baseline_high_date: 2020-04-17
# support:
# chrome: "37"
# chrome_android: "37"
# edge: "16"
# firefox: "32"
# firefox_android: "32"
# safari: "10.1"
# safari_ios: "10.3"
- api.Navigator.languages

# baseline: low
# baseline_low_date: 2023-03-27
# support:
# chrome: "94"
# chrome_android: "94"
# edge: "94"
# firefox: "99"
# firefox_android: "99"
# safari: "16.4"
# safari_ios: "16.4"
- api.Navigator.pdfViewerEnabled

# baseline: low
# baseline_low_date: 2024-09-16
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "1"
# firefox_android: "4"
# safari: "18"
# safari_ios: "18"
- api.Navigator.cookieEnabled

# baseline: false
# support:
# chrome: "37"
# chrome_android: "37"
# edge: "15"
# firefox: "48"
# firefox_android: "48"
- api.Navigator.hardwareConcurrency
autonome marked this conversation as resolved.
Show resolved Hide resolved

# baseline: false
# support:
# chrome: "13"
# edge: "79"
# firefox: "2"
# firefox_android: "4"
- api.Navigator.registerProtocolHandler

# baseline: false
# support:
# chrome: "38"
# edge: "79"
- api.Navigator.unregisterProtocolHandler