Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
108 changes: 108 additions & 0 deletions api/Navigator.json
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,42 @@
"standard_track": true,
"deprecated": false
}
},
"User-Agent_reduction": {
"__compat": {
"description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's my suggestion, but before applying, I'd like to get a second opinion by @ddbeck, who might have a better idea.

Suggested change
"User-Agent_reduction": {
"__compat": {
"description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.",
"applies_UA_reduction": {
"__compat": {
"description": "Applies [User-agent reduction](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction)",

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, this sounds good to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The corresponding docs have just been merged, so I'd like to expedite adding this data.

I like your suggestion, so for now I'm going to make this update in the places it appears. If we want to improve it further, I am happy to do so in a follow-up PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This text is fine, but see my other comment on the whole structure of this feature: #28275 (comment)

"spec_url": "https://compat.spec.whatwg.org/#ua-string-section",
"support": {
"chrome": {
"version_added": "110"
},
"chrome_android": {
"version_added": "113"
},
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": {
"version_added": false
},
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
},
"audioSession": {
Expand Down Expand Up @@ -2970,6 +3006,42 @@
"standard_track": true,
"deprecated": false
}
},
"User-Agent_reduction": {
"__compat": {
"description": "Provides limited/generic information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.",
"spec_url": "https://compat.spec.whatwg.org/#ua-string-section",
"support": {
"chrome": {
"version_added": "110"
},
"chrome_android": {
"version_added": "113"
},
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": {
"version_added": false
},
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
},
"plugins": {
Expand Down Expand Up @@ -5487,6 +5559,42 @@
"standard_track": true,
"deprecated": false
}
},
"User-Agent_reduction": {
"__compat": {
"description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.",
"spec_url": "https://compat.spec.whatwg.org/#ua-string-section",
"support": {
"chrome": {
"version_added": "110"
},
"chrome_android": {
"version_added": "113"
},
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": {
"version_added": false
},
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
},
"userAgentData": {
Expand Down
36 changes: 36 additions & 0 deletions http/headers/User-Agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,42 @@
"standard_track": true,
"deprecated": false
}
},
"User-Agent_reduction": {
"__compat": {
"description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.",
"spec_url": "https://compat.spec.whatwg.org/#ua-string-section",
"support": {
"chrome": {
"version_added": "110"
},
"chrome_android": {
"version_added": "113"
},
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": {
"version_added": false
},
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
}
}
Expand Down