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

Mark NavigatorID members standard; most deprecated #6612

Merged
merged 1 commit into from
Aug 31, 2020

Conversation

sideshowbarker
Copy link
Collaborator

@sideshowbarker sideshowbarker commented Aug 31, 2020

This change consistently marks all members of NavigatorID as standard — because they are all in fact defined in the HTML spec. And it marks almost all as deprecated — because almost all of them are required to return either a constant (and so, useless) value, or else are defined to optionally return a constant value, but are strongly encouraged by the spec to do return a constant value.

The only exceptions are:

Fixes #6567

This change consistently marks all members of NavigatorID as standard —
because they are all in fact defined in the HTML spec. And it marks
almost all as deprecated — because almost all of them are required to
return either a constant (and so, useless) value, or else are defined to
*optionally* return a constant value, but are strongly encouraged by the
spec to do return a constant value.

The only exceptions are:

* navigator.userAgent, defined to return a non-constant value

* navigator.vendor, defined to return a value depending on which engine
  the browser is running; either "Google Inc.", "Apple Computer, Inc.",
  or the empty string (for Gecko)
  https://html.spec.whatwg.org/multipage/#dom-navigator-useragent

Fixes #6567
@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Aug 31, 2020
@@ -1572,7 +1572,7 @@
},
"status": {
"experimental": false,
"standard_track": false,
"standard_track": true,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Confirmed: https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-oscpu

(But required to only be supported in Gecko.)

@@ -1736,8 +1736,8 @@
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": false
"standard_track": true,
Copy link
Collaborator

Choose a reason for hiding this comment

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

@@ -2226,8 +2226,8 @@
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": false
"standard_track": true,
Copy link
Collaborator

Choose a reason for hiding this comment

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

@@ -91,7 +91,7 @@
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"deprecated": true
Copy link
Collaborator

Choose a reason for hiding this comment

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

@@ -139,7 +139,7 @@
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"deprecated": true
Copy link
Collaborator

Choose a reason for hiding this comment

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

@@ -187,7 +187,7 @@
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"deprecated": true
Copy link
Collaborator

Choose a reason for hiding this comment

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

@@ -239,7 +239,7 @@
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"deprecated": true
Copy link
Collaborator

Choose a reason for hiding this comment

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

@@ -287,7 +287,7 @@
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"deprecated": true
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent standard status and deprecation of NavigatorID properties and methods
2 participants